diff --git a/src/mesa/main/glformats.c b/src/mesa/main/glformats.c index 6f74085d228..5efd55148f7 100644 --- a/src/mesa/main/glformats.c +++ b/src/mesa/main/glformats.c @@ -1223,6 +1223,10 @@ _mesa_is_stencil_format(GLenum format) { switch (format) { case GL_STENCIL_INDEX: + case GL_STENCIL_INDEX1: + case GL_STENCIL_INDEX4: + case GL_STENCIL_INDEX8: + case GL_STENCIL_INDEX16: return GL_TRUE; default: return GL_FALSE;