cogl: Remove unused COGL_FEATURE_OFFSCREEN_MULTISAMPLE

https://gitlab.gnome.org/GNOME/mutter/merge_requests/866
This commit is contained in:
Adam Jackson 2019-10-17 20:52:02 -04:00 committed by Georges Basile Stavracas Neto
parent 26a7387f40
commit 1f04b1ae69
2 changed files with 0 additions and 3 deletions

View File

@ -114,7 +114,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_TEXTURE_READ_PIXELS: glReadPixels() support
* @COGL_FEATURE_OFFSCREEN_MULTISAMPLE: Multisample support on FBOs
* @COGL_FEATURE_PBOS: PBO support * @COGL_FEATURE_PBOS: PBO support
* *
* Flags for the supported features. * Flags for the supported features.
@ -125,7 +124,6 @@ typedef enum
{ {
COGL_FEATURE_TEXTURE_YUV = (1 << 3), COGL_FEATURE_TEXTURE_YUV = (1 << 3),
COGL_FEATURE_TEXTURE_READ_PIXELS = (1 << 4), COGL_FEATURE_TEXTURE_READ_PIXELS = (1 << 4),
COGL_FEATURE_OFFSCREEN_MULTISAMPLE = (1 << 7),
COGL_FEATURE_PBOS = (1 << 12), COGL_FEATURE_PBOS = (1 << 12),
} CoglFeatureFlags; } CoglFeatureFlags;

View File

@ -424,7 +424,6 @@ _cogl_driver_update_features (CoglContext *ctx,
if (ctx->glRenderbufferStorageMultisampleIMG) if (ctx->glRenderbufferStorageMultisampleIMG)
{ {
flags |= COGL_FEATURE_OFFSCREEN_MULTISAMPLE;
COGL_FLAGS_SET (ctx->features, COGL_FLAGS_SET (ctx->features,
COGL_FEATURE_ID_OFFSCREEN_MULTISAMPLE, TRUE); COGL_FEATURE_ID_OFFSCREEN_MULTISAMPLE, TRUE);
} }