diff --git a/cogl/cogl/cogl-types.h b/cogl/cogl/cogl-types.h index e663f8b08..8d1c1bcfd 100644 --- a/cogl/cogl/cogl-types.h +++ b/cogl/cogl/cogl-types.h @@ -113,7 +113,6 @@ typedef struct _CoglTextureVertex CoglTextureVertex; /** * CoglFeatureFlags: * @COGL_FEATURE_TEXTURE_YUV: ycbcr conversion support - * @COGL_FEATURE_TEXTURE_READ_PIXELS: glReadPixels() support * @COGL_FEATURE_PBOS: PBO support * * Flags for the supported features. @@ -123,7 +122,6 @@ typedef struct _CoglTextureVertex CoglTextureVertex; typedef enum { COGL_FEATURE_TEXTURE_YUV = (1 << 3), - COGL_FEATURE_TEXTURE_READ_PIXELS = (1 << 4), COGL_FEATURE_PBOS = (1 << 12), } CoglFeatureFlags; diff --git a/cogl/cogl/driver/gl/gl/cogl-driver-gl.c b/cogl/cogl/driver/gl/gl/cogl-driver-gl.c index c399fa9aa..069346a60 100644 --- a/cogl/cogl/driver/gl/gl/cogl-driver-gl.c +++ b/cogl/cogl/driver/gl/gl/cogl-driver-gl.c @@ -393,7 +393,6 @@ _cogl_driver_update_features (CoglContext *ctx, &ctx->glsl_major, &ctx->glsl_minor); - flags = (COGL_FEATURE_TEXTURE_READ_PIXELS); COGL_FLAGS_SET (ctx->features, COGL_FEATURE_ID_UNSIGNED_INT_INDICES, TRUE);