From 198a88923c185bb0530787cd80cb9e1d700f2c91 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 5 Oct 2005 02:11:15 +0000 Subject: s/IntFormat/InternalFormat/ and s/Format/_BaseFormat/ for gl_color_table. --- src/mesa/main/texformat_tmp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/main/texformat_tmp.h') diff --git a/src/mesa/main/texformat_tmp.h b/src/mesa/main/texformat_tmp.h index a6a9628ea9..f8445275d8 100644 --- a/src/mesa/main/texformat_tmp.h +++ b/src/mesa/main/texformat_tmp.h @@ -1078,7 +1078,7 @@ static void FETCH(ci8)( const struct gl_texture_image *texImage, /* Mask the index against size of palette to avoid going out of bounds */ index = (*src) & (palette->Size - 1); - switch (palette->Format) { + switch (palette->_BaseFormat) { case GL_ALPHA: texel[RCOMP] = texel[GCOMP] = -- cgit v1.2.3