projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4208a8c
)
radeon: fix tx_table[] entry
author
Brian Paul
<brianp@vmware.com>
Thu, 1 Oct 2009 22:41:47 +0000
(16:41 -0600)
committer
Brian Paul
<brianp@vmware.com>
Thu, 1 Oct 2009 22:41:52 +0000
(16:41 -0600)
XXX need to still verify that the table entries are in correct order.
src/mesa/drivers/dri/radeon/radeon_texstate.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/radeon/radeon_texstate.c
b/src/mesa/drivers/dri/radeon/radeon_texstate.c
index 5d22a1185959ca968f614bdc91348452d3935504..cb17f48bf397b09e618015009cd0aa938e51ac2b 100644
(file)
--- a/
src/mesa/drivers/dri/radeon/radeon_texstate.c
+++ b/
src/mesa/drivers/dri/radeon/radeon_texstate.c
@@
-84,7
+84,7
@@
struct tx_table {
/* XXX verify this table against MESA_FORMAT_x values */
static const struct tx_table tx_table[] =
{
-
0
, /* MESA_FORMAT_NONE */
+
_INVALID(NONE)
, /* MESA_FORMAT_NONE */
_ALPHA(RGBA8888),
_ALPHA_REV(RGBA8888),
_ALPHA(ARGB8888),