diff --git a/src/cairo-gl-device.c b/src/cairo-gl-device.c index 4e867166d..87ceb666c 100644 --- a/src/cairo-gl-device.c +++ b/src/cairo-gl-device.c @@ -319,7 +319,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_OES; + return GL_DEPTH24_STENCIL8; #endif #if CAIRO_HAS_GL_SURFACE