summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-10-01 16:41:47 -0600
committerBrian Paul <[email protected]>2009-10-01 16:41:52 -0600
commit073d55f5849c6338a6381e8bc51c074524b5687b (patch)
tree23b91621046910013a433d95d53f92e5ac8a80ee
parent4208a8c02615841702619eb5891c0a61f96a5a00 (diff)
radeon: fix tx_table[] entry
XXX need to still verify that the table entries are in correct order.
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_texstate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_texstate.c b/src/mesa/drivers/dri/radeon/radeon_texstate.c
index 5d22a118595..cb17f48bf39 100644
--- 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),