mirror of
https://github.com/brl/mutter.git
synced 2024-11-10 07:56:14 -05:00
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 dae02a99a5
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 <neil@linux.intel.com>
This commit is contained in:
parent
db7f087953
commit
eb578e4e0c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user