Skip to content
Snippets Groups Projects
Commit 10c85eab authored by David Parks's avatar David Parks
Browse files

Merge branch 'DRTVWR-559' of github.com:secondlife/viewer into DRTVWR-559

parents c83e6641 d8cdfaa6
No related branches found
No related tags found
2 merge requests!3Update to main branch,!2Rebase onto current main branch
...@@ -1428,6 +1428,7 @@ void LLImageGL::setManualImage(U32 target, S32 miplevel, S32 intformat, S32 widt ...@@ -1428,6 +1428,7 @@ void LLImageGL::setManualImage(U32 target, S32 miplevel, S32 intformat, S32 widt
{ {
case GL_UNSIGNED_BYTE: case GL_UNSIGNED_BYTE:
case GL_BYTE: case GL_BYTE:
case GL_UNSIGNED_INT_8_8_8_8_REV:
type_width = 1; type_width = 1;
break; break;
case GL_UNSIGNED_SHORT: case GL_UNSIGNED_SHORT:
......
...@@ -267,11 +267,7 @@ void LLManipTranslate::restoreGL() ...@@ -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); 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; rez = rez >> 1;
mip++; mip++;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment