From f1f54a2a762e122d71d993e0f724e6d49885285f Mon Sep 17 00:00:00 2001 From: Nemurimasu Neiro Date: Tue, 24 Aug 2010 08:33:13 +0000 Subject: don't rely on indexed color extension(SNOW-220) --- linden/indra/newview/llvoavatar.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'linden') 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 ) { 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; -- cgit v1.1