From: Roland Scheidegger Date: Wed, 23 Jun 2004 17:37:16 +0000 (+0000) Subject: revert accidental change from rev. 1.10 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d7ea75061c1678bfca422e8776bd35f6546066f5;p=mesa.git revert accidental change from rev. 1.10 --- diff --git a/src/mesa/drivers/dri/radeon/radeon_texstate.c b/src/mesa/drivers/dri/radeon/radeon_texstate.c index d17d9db4ac4..49220472dfc 100644 --- a/src/mesa/drivers/dri/radeon/radeon_texstate.c +++ b/src/mesa/drivers/dri/radeon/radeon_texstate.c @@ -68,7 +68,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. [ MESA_FORMAT_ ## f ] = { RADEON_TXFORMAT_ ## f, RADEON_YUV_TO_RGB } #define _INVALID(f) \ [ MESA_FORMAT_ ## f ] = { 0xffffffff, 0 } -#define VALID_FORMAT(f) ( ((f) <= MESA_FORMAT_RGBA_DXT5) \ +#define VALID_FORMAT(f) ( ((f) <= MESA_FORMAT_YCBCR_REV) \ && (tx_table[f].format != 0xffffffff) ) static const struct {