mirror of
https://github.com/brl/mutter.git
synced 2024-11-12 17:27:03 -05:00
cogl: Remove unused COGL_FEATURE_DEPTH_TEXTURE
https://gitlab.gnome.org/GNOME/mutter/merge_requests/866
This commit is contained in:
parent
cf107c89b8
commit
45e77c1d87
@ -125,8 +125,6 @@ typedef struct _CoglTextureVertex CoglTextureVertex;
|
||||
* supported with CoglBufferAccess including read support.
|
||||
* @COGL_FEATURE_MAP_BUFFER_FOR_WRITE: Whether cogl_buffer_map() is
|
||||
* supported with CoglBufferAccess including write support.
|
||||
* @COGL_FEATURE_DEPTH_TEXTURE: Whether #CoglFramebuffer support rendering the
|
||||
* depth buffer to a texture.
|
||||
*
|
||||
* Flags for the supported features.
|
||||
*
|
||||
@ -144,7 +142,6 @@ typedef enum
|
||||
COGL_FEATURE_MAP_BUFFER_FOR_READ = (1 << 21),
|
||||
COGL_FEATURE_MAP_BUFFER_FOR_WRITE = (1 << 22),
|
||||
COGL_FEATURE_ONSCREEN_MULTIPLE = (1 << 23),
|
||||
COGL_FEATURE_DEPTH_TEXTURE = (1 << 24)
|
||||
} CoglFeatureFlags;
|
||||
|
||||
/**
|
||||
|
@ -433,7 +433,6 @@ _cogl_driver_update_features (CoglContext *ctx,
|
||||
if (COGL_CHECK_GL_VERSION (gl_major, gl_minor, 3, 0) ||
|
||||
_cogl_check_extension ("GL_ARB_depth_texture", gl_extensions))
|
||||
{
|
||||
flags |= COGL_FEATURE_DEPTH_TEXTURE;
|
||||
COGL_FLAGS_SET (ctx->features, COGL_FEATURE_ID_DEPTH_TEXTURE, TRUE);
|
||||
}
|
||||
|
||||
|
@ -320,7 +320,6 @@ _cogl_driver_update_features (CoglContext *context,
|
||||
|
||||
if (_cogl_check_extension ("GL_OES_depth_texture", gl_extensions))
|
||||
{
|
||||
flags |= COGL_FEATURE_DEPTH_TEXTURE;
|
||||
COGL_FLAGS_SET (context->features, COGL_FEATURE_ID_DEPTH_TEXTURE, TRUE);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user