mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 11:32:04 +00:00
cogl: Remove unused COGL_FEATURE_TEXTURE_READ_PIXELS
https://gitlab.gnome.org/GNOME/mutter/merge_requests/866
This commit is contained in:
parent
5e0989532e
commit
f01db80387
@ -113,7 +113,6 @@ typedef struct _CoglTextureVertex CoglTextureVertex;
|
|||||||
/**
|
/**
|
||||||
* CoglFeatureFlags:
|
* CoglFeatureFlags:
|
||||||
* @COGL_FEATURE_TEXTURE_YUV: ycbcr conversion support
|
* @COGL_FEATURE_TEXTURE_YUV: ycbcr conversion support
|
||||||
* @COGL_FEATURE_TEXTURE_READ_PIXELS: glReadPixels() support
|
|
||||||
* @COGL_FEATURE_PBOS: PBO support
|
* @COGL_FEATURE_PBOS: PBO support
|
||||||
*
|
*
|
||||||
* Flags for the supported features.
|
* Flags for the supported features.
|
||||||
@ -123,7 +122,6 @@ typedef struct _CoglTextureVertex CoglTextureVertex;
|
|||||||
typedef enum
|
typedef enum
|
||||||
{
|
{
|
||||||
COGL_FEATURE_TEXTURE_YUV = (1 << 3),
|
COGL_FEATURE_TEXTURE_YUV = (1 << 3),
|
||||||
COGL_FEATURE_TEXTURE_READ_PIXELS = (1 << 4),
|
|
||||||
COGL_FEATURE_PBOS = (1 << 12),
|
COGL_FEATURE_PBOS = (1 << 12),
|
||||||
} CoglFeatureFlags;
|
} CoglFeatureFlags;
|
||||||
|
|
||||||
|
@ -393,7 +393,6 @@ _cogl_driver_update_features (CoglContext *ctx,
|
|||||||
&ctx->glsl_major,
|
&ctx->glsl_major,
|
||||||
&ctx->glsl_minor);
|
&ctx->glsl_minor);
|
||||||
|
|
||||||
flags = (COGL_FEATURE_TEXTURE_READ_PIXELS);
|
|
||||||
COGL_FLAGS_SET (ctx->features,
|
COGL_FLAGS_SET (ctx->features,
|
||||||
COGL_FEATURE_ID_UNSIGNED_INT_INDICES, TRUE);
|
COGL_FEATURE_ID_UNSIGNED_INT_INDICES, TRUE);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user