summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-08-23 21:59:27 +0100
committerBrian <[email protected]>2007-08-23 21:59:27 +0100
commit7fe09341489ff61dc1a3a771fd3e75b3f866d6a9 (patch)
tree138442217e2b4691ae3d07bd57f1d3ce474d9812 /src
parent17598ad591a1eebe66cdefa332600f2952de92a0 (diff)
added GL_STENCIL_INDEX8_EXT
Diffstat (limited to 'src')
-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 430ac715e54..563b5add388 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");