tdfx: s/Format/_BaseFormat/
authorBrian Paul <brianp@vmware.com>
Thu, 11 Nov 2010 23:56:16 +0000 (16:56 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 11 Nov 2010 23:56:45 +0000 (16:56 -0700)
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=31560

src/mesa/drivers/dri/tdfx/tdfx_tex.c

index 0326b84..4cca243 100644 (file)
@@ -698,8 +698,8 @@ convertPalette(FxU32 data[256], const struct gl_color_table *table)
         return GR_TEXTABLE_PALETTE_6666_EXT;
     default:
         /* XXX fixme: how can this happen? */
-        _mesa_error(NULL, GL_INVALID_ENUM, "convertPalette: table->Format == %s",
-                                           _mesa_lookup_enum_by_nr(table->Format));
+        _mesa_error(NULL, GL_INVALID_ENUM, "convertPalette: table->_BaseFormat == %s",
+                                           _mesa_lookup_enum_by_nr(table->_BaseFormat));
         return GR_TEXTABLE_PALETTE;
     }
 }