[cogl] gles: Or in private features into ctx->private_feature_flags
- From: Robert Bragg <rbragg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl] gles: Or in private features into ctx->private_feature_flags
- Date: Tue, 19 Jul 2011 13:57:23 +0000 (UTC)
commit eb578e4e0c8e385fbf77193690a0adb05de27f53
Author: Robert Bragg <robert linux intel com>
Date: Tue Jul 19 14:40:29 2011 +0100
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 <neil linux intel com>
cogl/driver/gles/cogl-gles.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/cogl/driver/gles/cogl-gles.c b/cogl/driver/gles/cogl-gles.c
index 4ca1869..8418a7a 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]