nouveau: add forgotten GL_COMPRESSED_INTENSITY to texture format list
authorIlia Mirkin <imirkin@alum.mit.edu>
Thu, 13 Mar 2014 14:36:25 +0000 (10:36 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Wed, 19 Mar 2014 22:17:40 +0000 (18:17 -0400)
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Cc: "10.0 10.1" <mesa-stable@lists.freedesktop.org>
src/mesa/drivers/dri/nouveau/nouveau_texture.c

index a8c0268bc9842bb2363f0a9a0393536c23312672..ae8dbd41f42dfd4556bfcea854774db5c5ac9e41 100644 (file)
@@ -225,6 +225,7 @@ nouveau_choose_tex_format(struct gl_context *ctx, GLenum target,
        case GL_INTENSITY12:
        case GL_INTENSITY16:
        case GL_INTENSITY8:
+       case GL_COMPRESSED_INTENSITY:
                return MESA_FORMAT_I_UNORM8;
 
        case GL_RGB_S3TC: