mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 17:40:40 -05:00
cogl: Remove unused COGL_FEATURE_OFFSCREEN_MULTISAMPLE
https://gitlab.gnome.org/GNOME/mutter/merge_requests/866
This commit is contained in:
parent
26a7387f40
commit
1f04b1ae69
@ -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;
|
||||||
|
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user