From eb578e4e0c8e385fbf77193690a0adb05de27f53 Mon Sep 17 00:00:00 2001 From: Robert Bragg Date: Tue, 19 Jul 2011 14:40:29 +0100 Subject: [PATCH] gles: Or in private features into ctx->private_feature_flags When we moved all the GL function pointers to be part of CoglContext in commit dae02a99a5c8c5 we made a mistake and started to OR in the private COGL_PRIVATE_FEATURE_TEXTURE_2D_FROM_EGL_IMAGE feature flag into the non private flags which would mean cogl would think the GL_OES_EGL_image extension wasn't supported. Reviewed-by: Neil Roberts --- cogl/driver/gles/cogl-gles.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogl/driver/gles/cogl-gles.c b/cogl/driver/gles/cogl-gles.c index 4ca186956..8418a7ab5 100644 --- a/cogl/driver/gles/cogl-gles.c +++ b/cogl/driver/gles/cogl-gles.c @@ -120,7 +120,7 @@ _cogl_gles_update_features (CoglContext *context, flags |= COGL_FEATURE_MAP_BUFFER_FOR_WRITE; if (context->glEGLImageTargetTexture2D) - flags |= COGL_PRIVATE_FEATURE_TEXTURE_2D_FROM_EGL_IMAGE; + private_flags |= COGL_PRIVATE_FEATURE_TEXTURE_2D_FROM_EGL_IMAGE; /* Cache features */ context->private_feature_flags |= private_flags;