revert accidental change from rev. 1.10
authorRoland Scheidegger <rscheidegger@gmx.ch>
Wed, 23 Jun 2004 17:37:16 +0000 (17:37 +0000)
committerRoland Scheidegger <rscheidegger@gmx.ch>
Wed, 23 Jun 2004 17:37:16 +0000 (17:37 +0000)
src/mesa/drivers/dri/radeon/radeon_texstate.c

index d17d9db4ac48568f4e5a379aafba42ad9bbd7ea5..49220472dfcf3a1495a461c5f1b9f8746d3a5e5e 100644 (file)
@@ -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 {