r300: UTIL_FORMAT_LAYOUT_COMPRESSED -> UTIL_FORMAT_LAYOUT_S3TC.
authorJosé Fonseca <jfonseca@vmware.com>
Mon, 29 Mar 2010 16:30:09 +0000 (17:30 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Mon, 29 Mar 2010 16:31:34 +0000 (17:31 +0100)
src/gallium/drivers/r300/r300_texture.c

index 7c86bdb4bdc9b6c8f694134ae625c2ad55903e2e..22ccadfe3ddf09008485c6d27be4494db8508439 100644 (file)
@@ -159,7 +159,7 @@ static uint32_t r300_translate_texformat(enum pipe_format format)
     }
 
     /* Compressed formats. */
-    if (desc->layout == UTIL_FORMAT_LAYOUT_COMPRESSED) {
+    if (desc->layout == UTIL_FORMAT_LAYOUT_S3TC) {
         switch (format) {
             case PIPE_FORMAT_DXT1_RGB:
             case PIPE_FORMAT_DXT1_RGBA: