summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/nouveau/nouveau_texture.c
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2014-03-13 10:36:25 -0400
committerIlia Mirkin <[email protected]>2014-03-19 18:17:40 -0400
commitb676df9abf46bca84ab2f7c36dd5a556a1524966 (patch)
tree5981691a67cf281cc678de6ee9fa5b8037f0ed9e /src/mesa/drivers/dri/nouveau/nouveau_texture.c
parent18690995a6c91c0cb4886815d78dc700a902b98b (diff)
nouveau: add forgotten GL_COMPRESSED_INTENSITY to texture format list
Signed-off-by: Ilia Mirkin <[email protected]> Reviewed-by: Francisco Jerez <[email protected]> Cc: "10.0 10.1" <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/nouveau/nouveau_texture.c')
-rw-r--r--src/mesa/drivers/dri/nouveau/nouveau_texture.c1
1 files changed, 1 insertions, 0 deletions
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: