diff options
author | Henry Song <henry.song@samsung.com> | 2012-09-27 18:25:52 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-10-11 16:56:13 +0100 |
commit | 188c34b40d6f08851b4076ad11aefe69d4a78a25 (patch) | |
tree | 3262d4a8cf8309282886d9e6535255b961f66b02 | |
parent | f78a9269228f2f48e8eb496e341ef990db39c6c3 (diff) |
gl: gles2 only supports GL_DEPTH24_STENCIL8_OES
Patch also provided by U. Artie Eoff <ullysses.a.eoff@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=50355
-rw-r--r-- | src/cairo-gl-device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-gl-device.c b/src/cairo-gl-device.c index 9cb0c2157..6563b3b29 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 |