diff options
-rw-r--r-- | src/mesa/drivers/dri/tdfx/tdfx_tex.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/tdfx/tdfx_tex.c b/src/mesa/drivers/dri/tdfx/tdfx_tex.c index 5e528dcf7f6..a86440afb1e 100644 --- a/src/mesa/drivers/dri/tdfx/tdfx_tex.c +++ b/src/mesa/drivers/dri/tdfx/tdfx_tex.c @@ -649,6 +649,9 @@ convertPalette(FxU32 data[256], const struct gl_color_table *table) } return GR_TEXTABLE_PALETTE_6666_EXT; } + /* XXX fixme: how can this happen? */ + _mesa_error(ctx, GL_INVALID_ENUM, "convertPalette: table->Format == %s", + _mesa_lookup_enum_by_nr(table->Format)); abort(); } |