DEV-39786 (SNOW-572 / SNOW-220 / VWR-14712): GL_COLOR_INDEX8_EXT not defined as GL_EXT_paletted_texture is deprecated.

Imported from Snowglobe.
master
Aimee Linden 2010-04-24 20:36:42 +01:00
parent f35a2112ea
commit 5fa00a67af
2 changed files with 2 additions and 1 deletions

View File

@ -17,6 +17,7 @@ Agathos Frascati
CT-317
CT-352
Aimee Trescothick
SNOW-572
VWR-3321
VWR-3336
VWR-3903
@ -48,6 +49,7 @@ Aimee Trescothick
VWR-14087
VWR-14267
VWR-14278
VWR-14712
Alejandro Rosenthal
VWR-1184
Aleric Inglewood

View File

@ -2238,7 +2238,6 @@ LLGLuint LLVOAvatarSelf::getScratchTexName( LLGLenum format, S32& components, U3
{
case GL_LUMINANCE: components = 1; internal_format = GL_LUMINANCE8; break;
case GL_ALPHA: components = 1; internal_format = GL_ALPHA8; break;
case GL_COLOR_INDEX: components = 1; internal_format = GL_COLOR_INDEX8_EXT; break;
case GL_LUMINANCE_ALPHA: components = 2; internal_format = GL_LUMINANCE8_ALPHA8; break;
case GL_RGB: components = 3; internal_format = GL_RGB8; break;
case GL_RGBA: components = 4; internal_format = GL_RGBA8; break;