cogl-framebuffer.c: GL_DEPTH_STENCIL not supported in gles
authorJammy Zhou <jammy.zhou@linaro.org>
Tue, 21 Sep 2010 03:37:52 +0000 (11:37 +0800)
committerRobert Bragg <robert@linux.intel.com>
Thu, 23 Sep 2010 16:33:11 +0000 (17:33 +0100)
commitffd5c32209bc6784c554134dd8c61536191c1e29
tree6c386480738c59e7c043c2f8e1d9e33ad8b6b256
parent4533edeef03b452aa79671fd6f80e659b2f09fa9
cogl-framebuffer.c: GL_DEPTH_STENCIL not supported in gles

There is GL_INVALID_ENUM error for GL_DEPTH_STENCIL when call
glRenderbufferStorage() with OpenGL ES backend. So enable this
only for OpenGL backend.

Signed-off-by: Robert Bragg <robert@linux.intel.com>
clutter/cogl/cogl/cogl-framebuffer.c