diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2005-10-05 02:11:15 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2005-10-05 02:11:15 +0000 |
commit | 198a88923c185bb0530787cd80cb9e1d700f2c91 (patch) | |
tree | a2375a5cf288a2f601390b0f954f86337191f814 /src/mesa/drivers/dri/tdfx | |
parent | 8184ec9fb6b08c6c8a0398040ae5d89dd0b0cfb8 (diff) |
s/IntFormat/InternalFormat/ and s/Format/_BaseFormat/ for gl_color_table.
Diffstat (limited to 'src/mesa/drivers/dri/tdfx')
-rw-r--r-- | src/mesa/drivers/dri/tdfx/tdfx_tex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/tdfx/tdfx_tex.c b/src/mesa/drivers/dri/tdfx/tdfx_tex.c index 6d39067de4..d8a80534bb 100644 --- a/src/mesa/drivers/dri/tdfx/tdfx_tex.c +++ b/src/mesa/drivers/dri/tdfx/tdfx_tex.c @@ -599,7 +599,7 @@ convertPalette(FxU32 data[256], const struct gl_color_table *table) ASSERT(table->Type == GL_UNSIGNED_BYTE); - switch (table->Format) { + switch (table->_BaseFormat) { case GL_INTENSITY: for (i = 0; i < width; i++) { r = tableUB[i]; @@ -1260,7 +1260,7 @@ tdfxTexImage2D(GLcontext *ctx, GLenum target, GLint level, /* printf("TexImage id=%d int 0x%x format 0x%x type 0x%x %dx%d\n", - texObj->Name, texImage->IntFormat, format, type, + texObj->Name, texImage->InternalFormat, format, type, texImage->Width, texImage->Height); */ |