mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
nouveau: add forgotten GL_COMPRESSED_INTENSITY to texture format list
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>
(cherry picked from commit b676df9abf)
Conflicts:
src/mesa/drivers/dri/nouveau/nouveau_texture.c
This commit is contained in:
parent
f15356c70a
commit
2bd3830197
1 changed files with 1 additions and 0 deletions
|
|
@ -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_I8;
|
||||
|
||||
case GL_RGB_S3TC:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue