aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra
diff options
context:
space:
mode:
authorNemurimasu Neiro2010-08-24 08:33:13 +0000
committerMcCabe Maxsted2010-09-23 16:08:17 -0700
commitf1f54a2a762e122d71d993e0f724e6d49885285f (patch)
tree2536fb2f07a165f74be12b98dd926c61ecdf6ef5 /linden/indra
parentforgot the main file for the OpenRegionInfo handler (diff)
downloadmeta-impy-f1f54a2a762e122d71d993e0f724e6d49885285f.zip
meta-impy-f1f54a2a762e122d71d993e0f724e6d49885285f.tar.gz
meta-impy-f1f54a2a762e122d71d993e0f724e6d49885285f.tar.bz2
meta-impy-f1f54a2a762e122d71d993e0f724e6d49885285f.tar.xz
don't rely on indexed color extension(SNOW-220)
Diffstat (limited to 'linden/indra')
-rw-r--r--linden/indra/newview/llvoavatar.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/linden/indra/newview/llvoavatar.cpp b/linden/indra/newview/llvoavatar.cpp
index c8b26be..36d60dd 100644
--- a/linden/indra/newview/llvoavatar.cpp
+++ b/linden/indra/newview/llvoavatar.cpp
@@ -7410,7 +7410,6 @@ LLGLuint LLVOAvatar::getScratchTexName( LLGLenum format, U32* texture_bytes )
7410 { 7410 {
7411 case GL_LUMINANCE: components = 1; internal_format = GL_LUMINANCE8; break; 7411 case GL_LUMINANCE: components = 1; internal_format = GL_LUMINANCE8; break;
7412 case GL_ALPHA: components = 1; internal_format = GL_ALPHA8; break; 7412 case GL_ALPHA: components = 1; internal_format = GL_ALPHA8; break;
7413 case GL_COLOR_INDEX: components = 1; internal_format = GL_COLOR_INDEX8_EXT; break;
7414 case GL_LUMINANCE_ALPHA: components = 2; internal_format = GL_LUMINANCE8_ALPHA8; break; 7413 case GL_LUMINANCE_ALPHA: components = 2; internal_format = GL_LUMINANCE8_ALPHA8; break;
7415 case GL_RGB: components = 3; internal_format = GL_RGB8; break; 7414 case GL_RGB: components = 3; internal_format = GL_RGB8; break;
7416 case GL_RGBA: components = 4; internal_format = GL_RGBA8; break; 7415 case GL_RGBA: components = 4; internal_format = GL_RGBA8; break;