summaryrefslogtreecommitdiff
path: root/indra/newview/llviewertexture.cpp
diff options
context:
space:
mode:
authorJonathan "Geenz" Goodman <geenz@lindenlab.com>2025-12-03 11:52:11 -0500
committerGitHub <noreply@github.com>2025-12-03 11:52:11 -0500
commit6b866bc6432ef88a79a826c09b17107392bde15f (patch)
treeb3f2d683f23345b142199ce887e8941ca62ad011 /indra/newview/llviewertexture.cpp
parent5e7e4dfa3900775a5482d296a8fa648c5805d018 (diff)
parentbf347d15804c27348c84a55ab763f89b718e8aac (diff)
Merge pull request #5094 from secondlife/main
2025.08 -> Develop
Diffstat (limited to 'indra/newview/llviewertexture.cpp')
-rw-r--r--indra/newview/llviewertexture.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llviewertexture.cpp b/indra/newview/llviewertexture.cpp
index 6135e18840..1e83482752 100644
--- a/indra/newview/llviewertexture.cpp
+++ b/indra/newview/llviewertexture.cpp
@@ -406,7 +406,10 @@ void LLViewerTextureManager::init()
}
}
}
- imagep->createGLTexture(0, image_raw);
+ if (!imagep->createGLTexture(0, image_raw))
+ {
+ LL_WARNS() << "Failed to create default texture " << IMG_DEFAULT << LL_ENDL;
+ }
image_raw = NULL;
#else
LLViewerFetchedTexture::sDefaultImagep = LLViewerTextureManager::getFetchedTexture(IMG_DEFAULT, true, LLGLTexture::BOOST_UI);