mirror of
https://github.com/brl/mutter.git
synced 2025-06-13 00:39:30 +00:00
onscreen/native: Complete buffer swap also if we discarded
We already swapped the front buffer, and even if it didn't get presented, we should still swap our representation of the state, to not get into a confused buffer tracking state. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1822>
This commit is contained in:
@ -341,6 +341,7 @@ page_flip_feedback_discarded (MetaKmsCrtc *kms_crtc,
|
||||
frame_info->flags |= COGL_FRAME_INFO_FLAG_SYMBOLIC;
|
||||
|
||||
meta_onscreen_native_notify_frame_complete (onscreen);
|
||||
meta_onscreen_native_swap_drm_fb (onscreen);
|
||||
}
|
||||
|
||||
static const MetaKmsPageFlipListenerVtable page_flip_listener_vtable = {
|
||||
|
Reference in New Issue
Block a user