mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05: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:
parent
4cb6033a27
commit
c29f8c8b73
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user