summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker/st_cb_fbo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/state_tracker/st_cb_fbo.c')
-rw-r--r--src/mesa/state_tracker/st_cb_fbo.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_cb_fbo.c b/src/mesa/state_tracker/st_cb_fbo.c
index 430ac715e5..563b5add38 100644
--- a/src/mesa/state_tracker/st_cb_fbo.c
+++ b/src/mesa/state_tracker/st_cb_fbo.c
@@ -233,6 +233,9 @@ st_new_renderbuffer_fb(GLenum intFormat)
case GL_DEPTH24_STENCIL8_EXT:
strb->Base._BaseFormat = GL_DEPTH_STENCIL_EXT;
break;
+ case GL_STENCIL_INDEX8_EXT:
+ strb->Base._BaseFormat = GL_STENCIL_INDEX;
+ break;
default:
_mesa_problem(NULL,
"Unexpected intFormat in st_new_renderbuffer");