diff options
Diffstat (limited to 'src/mesa/drivers/dri/i830/i830_texstate.c')
-rw-r--r-- | src/mesa/drivers/dri/i830/i830_texstate.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i830/i830_texstate.c b/src/mesa/drivers/dri/i830/i830_texstate.c index 03407eb771..6b8193c924 100644 --- a/src/mesa/drivers/dri/i830/i830_texstate.c +++ b/src/mesa/drivers/dri/i830/i830_texstate.c @@ -111,6 +111,12 @@ static void i830SetTexImages( i830ContextPtr imesa, textureFormat = (MAPSURF_422 | MT_422_YCRCB_SWAPY | /* ??? */ TM0S1_COLORSPACE_CONVERSION); break; + + case MESA_FORMAT_RGB_FXT1: + case MESA_FORMAT_RGBA_FXT1: + t->texelBytes = 2; + textureFormat = (MAPSURF_COMPRESSED | MT_COMPRESS_FXT1); + break; default: fprintf(stderr, "%s: bad image format\n", __FUNCTION__); |