Implement GL_OES_packed_depth_stencil
TRAC #12336
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch

Author:    Shannon Woods

git-svn-id: https://angleproject.googlecode.com/svn/trunk@358 736b8ea6-26fd-11df-bfd4-992fa37f6226
diff --git a/src/libGLESv2/libGLESv2.cpp b/src/libGLESv2/libGLESv2.cpp
index a136bd3..170925a 100644
--- a/src/libGLESv2/libGLESv2.cpp
+++ b/src/libGLESv2/libGLESv2.cpp
@@ -3543,6 +3543,7 @@
           case GL_RGB5_A1:
           case GL_RGB565:
           case GL_STENCIL_INDEX8:
+          case GL_DEPTH24_STENCIL8_OES:
             break;
           default:
             return error(GL_INVALID_ENUM);
@@ -3575,6 +3576,9 @@
               case GL_STENCIL_INDEX8:
                 context->setRenderbuffer(new gl::Stencilbuffer(width, height));
                 break;
+              case GL_DEPTH24_STENCIL8_OES:
+                context->setRenderbuffer(new gl::DepthStencilbuffer(width, height));
+                break;
               default:
                 return error(GL_INVALID_ENUM);
             }