added GL_STENCIL_INDEX8_EXT
authorBrian <brian.paul@tungstengraphics.com>
Thu, 23 Aug 2007 20:59:27 +0000 (21:59 +0100)
committerBrian <brian.paul@tungstengraphics.com>
Thu, 23 Aug 2007 20:59:27 +0000 (21:59 +0100)
src/mesa/state_tracker/st_cb_fbo.c

index 430ac715e54d72b308e18df8123abef45cb5f5f3..563b5add3885b79731500f89f7cb04357790bc58 100644 (file)
@@ -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");