projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6929cdd
)
tdfx: s/Format/_BaseFormat/
author
Brian Paul
<brianp@vmware.com>
Thu, 11 Nov 2010 23:56:16 +0000
(16:56 -0700)
committer
Brian 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
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/tdfx/tdfx_tex.c
b/src/mesa/drivers/dri/tdfx/tdfx_tex.c
index 0326b847cb8d8b3a93ee2558e57769f2131b42fe..4cca243d076a39894088fbf5a16129c6f7413eb3 100644
(file)
--- a/
src/mesa/drivers/dri/tdfx/tdfx_tex.c
+++ b/
src/mesa/drivers/dri/tdfx/tdfx_tex.c
@@
-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->
_Base
Format == %s",
+ _mesa_lookup_enum_by_nr(table->
_Base
Format));
return GR_TEXTABLE_PALETTE;
}
}