summaryrefslogtreecommitdiff
path: root/indra/llrender
diff options
context:
space:
mode:
authorCosmic Linden <cosmic@lindenlab.com>2023-03-08 12:40:45 -0800
committerCosmic Linden <cosmic@lindenlab.com>2023-03-08 12:40:45 -0800
commit6c486e485372a6f79e632839a7217c5208a09d0c (patch)
tree07fc1f1479efd999b710740545bd25e316510dc3 /indra/llrender
parentcf72c8ec614fcfc2811f10dfacdc51ed3f477e31 (diff)
SL-19338: (WIP) Test disabling new use of glTexSubImage2D and see if the bug still repros
Diffstat (limited to 'indra/llrender')
-rw-r--r--indra/llrender/llimagegl.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/llrender/llimagegl.cpp b/indra/llrender/llimagegl.cpp
index 50d4532fa7..7bb98be84a 100644
--- a/indra/llrender/llimagegl.cpp
+++ b/indra/llrender/llimagegl.cpp
@@ -1408,7 +1408,9 @@ void LLImageGL::setManualImage(U32 target, S32 miplevel, S32 intformat, S32 widt
LL_PROFILE_ZONE_NUM(height);
free_cur_tex_image();
-#if LL_DARWIN
+// TODO: Revert
+//#if LL_DARWIN
+#if 1
{
LL_PROFILE_ZONE_NAMED("glTexImage2D alloc");
glTexImage2D(target, miplevel, intformat, width, height, 0, pixformat, pixtype, use_scratch ? scratch : pixels);