From: Brian Paul Date: Thu, 1 Oct 2009 22:41:47 +0000 (-0600) Subject: radeon: fix tx_table[] entry X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=073d55f5849c6338a6381e8bc51c074524b5687b;p=mesa.git radeon: fix tx_table[] entry XXX need to still verify that the table entries are in correct order. --- 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),