mirror of
https://github.com/brl/mutter.git
synced 2025-06-14 01:09:30 +00:00
Remove unused flag COGL_WINSYS_FEATURE_SWAP_THROTTLE
This also removes an old comment about `wait_for_pending_flips` which no longer exists. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1390
This commit is contained in:

committed by
Jonas Ådahl

parent
593e610415
commit
f3ad63e206
@ -2200,13 +2200,6 @@ meta_renderer_native_init_egl_context (CoglContext *cogl_context,
|
||||
COGL_WINSYS_FEATURE_MULTIPLE_ONSCREEN,
|
||||
TRUE);
|
||||
|
||||
/* COGL_WINSYS_FEATURE_SWAP_THROTTLE is always true for this renderer
|
||||
* because we have the call to wait_for_pending_flips on every frame.
|
||||
*/
|
||||
COGL_FLAGS_SET (cogl_context->winsys_features,
|
||||
COGL_WINSYS_FEATURE_SWAP_THROTTLE,
|
||||
TRUE);
|
||||
|
||||
#ifdef HAVE_EGL_DEVICE
|
||||
if (renderer_gpu_data->mode == META_RENDERER_NATIVE_MODE_EGL_DEVICE)
|
||||
COGL_FLAGS_SET (cogl_context->features,
|
||||
|
Reference in New Issue
Block a user