Implemented support for GL_STENCIL_INDEX8 renderbuffers
TRAC #11366
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/trunk@5 736b8ea6-26fd-11df-bfd4-992fa37f6226
diff --git a/libGLESv2/libGLESv2.cpp b/libGLESv2/libGLESv2.cpp
index 21c41b2..6f805e4 100644
--- a/libGLESv2/libGLESv2.cpp
+++ b/libGLESv2/libGLESv2.cpp
@@ -2580,11 +2580,10 @@
case GL_RGB5_A1:
case GL_RGB565:
UNIMPLEMENTED(); // FIXME
- // context->setRenderbuffer(new Colorbuffer(renderTarget));
+ // context->setRenderbuffer(new Colorbuffer(renderTarget));
break;
case GL_STENCIL_INDEX8:
- UNIMPLEMENTED(); // FIXME
- // context->setRenderbuffer(new Stencilbuffer(depthStencil));
+ context->setRenderbuffer(new gl::Stencilbuffer(width, height));
break;
default:
return error(GL_INVALID_ENUM);