diff options
author | Eric Anholt <[email protected]> | 2005-10-24 22:01:40 +0000 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2005-10-24 22:01:40 +0000 |
commit | f33beed330c22b56bb97af73f56d83c34e985cb6 (patch) | |
tree | 3b129f0363f8a81e86fbb6aa01ba36882f6a83c9 /src/mesa/drivers/dri/sis/sis_tex.c | |
parent | 81d3bf58ff2b143b7df16e5d7af8672b33626e40 (diff) |
Fix and enable GL_MESA_ycbcr_texture. Looks fine with yuvrect. I'm slightly
concerned that TEXEL_YUV422 looks like TEXEL_YVU422 and TEXEL_VUY422 looks like
TEXEL_VYU422 in yuvrect, but I'm happy enough for now.
Diffstat (limited to 'src/mesa/drivers/dri/sis/sis_tex.c')
-rw-r--r-- | src/mesa/drivers/dri/sis/sis_tex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/sis/sis_tex.c b/src/mesa/drivers/dri/sis/sis_tex.c index a97bed833a2..be87f16e298 100644 --- a/src/mesa/drivers/dri/sis/sis_tex.c +++ b/src/mesa/drivers/dri/sis/sis_tex.c @@ -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", |