Fix and enable GL_MESA_ycbcr_texture. Looks fine with yuvrect. I'm slightly
[mesa.git] / src / mesa / drivers / dri / sis / sis_tex.c
index a97bed833a224c561e798ce8245c90bd54b5e6c4..be87f16e2983cd21201ad2174148b7ccdabe6414 100644 (file)
@@ -96,10 +96,10 @@ sisAllocTexImage( sisContextPtr smesa, sisTexObjPtr t, int level,
          t->hwformat = TEXEL_AL88;
          break;
       case MESA_FORMAT_YCBCR:
-         t->hwformat = TEXEL_YVU422;   /* Doesn't work?  Extension disabled */
+         t->hwformat = TEXEL_YUV422;
          break;
       case MESA_FORMAT_YCBCR_REV:
-         t->hwformat = TEXEL_YUV422;   /* Doesn't work?  Extension disabled */
+         t->hwformat = TEXEL_VUY422;
          break;
       default:
          sis_fatal_error("Bad texture format 0x%x.\n",