radeon: fix tx_table[] entry
authorBrian Paul <brianp@vmware.com>
Thu, 1 Oct 2009 22:41:47 +0000 (16:41 -0600)
committerBrian 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

index 5d22a1185959ca968f614bdc91348452d3935504..cb17f48bf397b09e618015009cd0aa938e51ac2b 100644 (file)
@@ -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),