diff options
author | Brad Linden <brad@lindenlab.com> | 2023-01-19 14:25:14 -0800 |
---|---|---|
committer | Brad Linden <brad@lindenlab.com> | 2023-01-19 14:25:14 -0800 |
commit | d8cdfaa645e68a496f7c5957602a28cbc2db5f53 (patch) | |
tree | ec6748cced6c90fc75a57b7e87d489836762ca27 /indra/newview | |
parent | 8b39e0e1a6787ae374287dc62064af8576149e86 (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/newview')
-rw-r--r-- | indra/newview/llmaniptranslate.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/indra/newview/llmaniptranslate.cpp b/indra/newview/llmaniptranslate.cpp index b9e68bd6a9..91f1af8f28 100644 --- a/indra/newview/llmaniptranslate.cpp +++ b/indra/newview/llmaniptranslate.cpp @@ -267,11 +267,7 @@ void LLManipTranslate::restoreGL() } } } -#ifdef LL_WINDOWS LLImageGL::setManualImage(GL_TEXTURE_2D, mip, GL_RGBA, rez, rez, GL_RGBA, GL_UNSIGNED_BYTE, d); -#else - LLImageGL::setManualImage(GL_TEXTURE_2D, mip, GL_RGBA, rez, rez, GL_RGBA, GL_UNSIGNED_INT_8_8_8_8_REV, d); -#endif rez = rez >> 1; mip++; } |