From: Ilia Mirkin Date: Thu, 13 Mar 2014 14:36:25 +0000 (-0400) Subject: nouveau: add forgotten GL_COMPRESSED_INTENSITY to texture format list X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b676df9abf46bca84ab2f7c36dd5a556a1524966;p=mesa.git nouveau: add forgotten GL_COMPRESSED_INTENSITY to texture format list Signed-off-by: Ilia Mirkin Reviewed-by: Francisco Jerez Cc: "10.0 10.1" --- diff --git a/src/mesa/drivers/dri/nouveau/nouveau_texture.c b/src/mesa/drivers/dri/nouveau/nouveau_texture.c index a8c0268bc98..ae8dbd41f42 100644 --- a/src/mesa/drivers/dri/nouveau/nouveau_texture.c +++ b/src/mesa/drivers/dri/nouveau/nouveau_texture.c @@ -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: