summaryrefslogtreecommitdiff
path: root/src/mesa/main/texformat_tmp.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2005-10-05 02:11:15 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2005-10-05 02:11:15 +0000
commit198a88923c185bb0530787cd80cb9e1d700f2c91 (patch)
treea2375a5cf288a2f601390b0f954f86337191f814 /src/mesa/main/texformat_tmp.h
parent8184ec9fb6b08c6c8a0398040ae5d89dd0b0cfb8 (diff)
s/IntFormat/InternalFormat/ and s/Format/_BaseFormat/ for gl_color_table.
Diffstat (limited to 'src/mesa/main/texformat_tmp.h')
-rw-r--r--src/mesa/main/texformat_tmp.h2
1 files changed, 1 insertions, 1 deletions
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] =