cogl: Remove unused swap-related COGL_FEATURE_ID_ flags
What we actually use is `COGL_WINSYS_FEATURE_SWAP_BUFFERS_EVENT`, which is also set in the same locations. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1297
This commit is contained in:
@ -2147,11 +2147,6 @@ meta_renderer_native_init_egl_context (CoglContext *cogl_context,
|
||||
MetaRendererNativeGpuData *renderer_gpu_data = cogl_renderer_egl->platform;
|
||||
#endif
|
||||
|
||||
COGL_FLAGS_SET (cogl_context->features,
|
||||
COGL_FEATURE_ID_PRESENTATION_TIME, TRUE);
|
||||
COGL_FLAGS_SET (cogl_context->features,
|
||||
COGL_FEATURE_ID_SWAP_BUFFERS_EVENT, TRUE);
|
||||
/* TODO: remove this deprecated feature */
|
||||
COGL_FLAGS_SET (cogl_context->winsys_features,
|
||||
COGL_WINSYS_FEATURE_SWAP_BUFFERS_EVENT,
|
||||
TRUE);
|
||||
|
Reference in New Issue
Block a user