summaryrefslogtreecommitdiff
path: root/indra/llrender
diff options
context:
space:
mode:
authorBrad Linden <brad@lindenlab.com>2023-01-19 14:25:14 -0800
committerBrad Linden <brad@lindenlab.com>2023-01-19 14:25:14 -0800
commitd8cdfaa645e68a496f7c5957602a28cbc2db5f53 (patch)
treeec6748cced6c90fc75a57b7e87d489836762ca27 /indra/llrender
parent8b39e0e1a6787ae374287dc62064af8576149e86 (diff)
Fix for SL-19010 mac crash in LLManipTranslartge::restoreGL().
Attempt to simplify and avoid use of GL_UNSIGNED_INT_8_8_8_8_REV where not needed
Diffstat (limited to 'indra/llrender')
-rw-r--r--indra/llrender/llimagegl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llrender/llimagegl.cpp b/indra/llrender/llimagegl.cpp
index db17f812bd..b3b79bd6c4 100644
--- a/indra/llrender/llimagegl.cpp
+++ b/indra/llrender/llimagegl.cpp
@@ -1428,6 +1428,7 @@ void LLImageGL::setManualImage(U32 target, S32 miplevel, S32 intformat, S32 widt
{
case GL_UNSIGNED_BYTE:
case GL_BYTE:
+ case GL_UNSIGNED_INT_8_8_8_8_REV:
type_width = 1;
break;
case GL_UNSIGNED_SHORT: