projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mesa: Move _mesa_all_buffers_are_unmapped to arrayobj.c.
[mesa.git]
/
src
/
mesa
/
main
/
texformat.c
diff --git
a/src/mesa/main/texformat.c
b/src/mesa/main/texformat.c
index 419fd78e8939739d33b9ffa6100c7e1ed078ae1a..be2581b004f82033689397606f631ccfcac95101 100644
(file)
--- a/
src/mesa/main/texformat.c
+++ b/
src/mesa/main/texformat.c
@@
-765,6
+765,11
@@
_mesa_choose_tex_format(struct gl_context *ctx, GLenum target,
RETURN_IF_SUPPORTED(MESA_FORMAT_B8G8R8A8_UNORM);
break;
+ case GL_STENCIL_INDEX:
+ case GL_STENCIL_INDEX8:
+ RETURN_IF_SUPPORTED(MESA_FORMAT_S_UINT8);
+ break;
+
default:
/* For non-generic compressed format we assert two things:
*