cogl: Remove unused COGL_FEATURE_UNSIGNED_INT_INDICES

https://gitlab.gnome.org/GNOME/mutter/merge_requests/866
This commit is contained in:
Adam Jackson 2019-10-17 19:53:24 -04:00 committed by Georges Basile Stavracas Neto
parent 0731eb629c
commit eb3ffeff0a
3 changed files with 1 additions and 7 deletions

View File

@ -118,9 +118,6 @@ typedef struct _CoglTextureVertex CoglTextureVertex;
* @COGL_FEATURE_FOUR_CLIP_PLANES: At least 4 clip planes available
* @COGL_FEATURE_STENCIL_BUFFER: Stencil buffer support
* @COGL_FEATURE_PBOS: PBO support
* @COGL_FEATURE_UNSIGNED_INT_INDICES: Set if
* %COGL_INDICES_TYPE_UNSIGNED_INT is supported in
* cogl_vertex_buffer_indices_new().
*
* Flags for the supported features.
*
@ -134,7 +131,6 @@ typedef enum
COGL_FEATURE_FOUR_CLIP_PLANES = (1 << 9),
COGL_FEATURE_STENCIL_BUFFER = (1 << 10),
COGL_FEATURE_PBOS = (1 << 12),
COGL_FEATURE_UNSIGNED_INT_INDICES = (1 << 13),
} CoglFeatureFlags;
/**

View File

@ -393,8 +393,7 @@ _cogl_driver_update_features (CoglContext *ctx,
&ctx->glsl_major,
&ctx->glsl_minor);
flags = (COGL_FEATURE_TEXTURE_READ_PIXELS
| COGL_FEATURE_UNSIGNED_INT_INDICES);
flags = (COGL_FEATURE_TEXTURE_READ_PIXELS);
COGL_FLAGS_SET (ctx->features,
COGL_FEATURE_ID_UNSIGNED_INT_INDICES, TRUE);

View File

@ -313,7 +313,6 @@ _cogl_driver_update_features (CoglContext *context,
if (_cogl_check_extension ("GL_OES_element_index_uint", gl_extensions))
{
flags |= COGL_FEATURE_UNSIGNED_INT_INDICES;
COGL_FLAGS_SET (context->features,
COGL_FEATURE_ID_UNSIGNED_INT_INDICES, TRUE);
}