[patch] gl: gles2 only supports GL_DEPTH24_STENCIL8_OES
"Henry (Yu) Song - SISA" <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <3955FA337689574EB32F94B12A7E6E9E246DF2C7@sisaex01sj> |
From 6d6495e7301aefcc19a22bddf82b231fcc73a971 Mon Sep 17 00:00:00 2001 From: Henry Song <[email protected]> Date: Thu, 27 Sep 2012 11:26:27 -0700 Subject: [PATCH] gl: GLES only supports GL_DEPTH24_STENCIL8_OES --- src/cairo-gl-device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cairo-gl-device.c b/src/cairo-gl-device.c index 9cb0c21..6563b3b 100644 --- a/src/cairo-gl-device.c +++ b/src/cairo-gl-device.c @@ -321,7 +321,7 @@ _get_depth_stencil_format (cairo_gl_context_t *ctx) #if CAIRO_HAS_GLESV2_SURFACE if (ctx->gl_flavor == CAIRO_GL_FLAVOR_DESKTOP) - return GL_DEPTH24_STENCIL8; + return GL_DEPTH24_STENCIL8_OES; #endif #if CAIRO_HAS_GL_SURFACE -- 1.7.9.5 -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo