stage/cogl: Don't finish offscreen at end of paint
It'll "finish" implicitly whenever accessed, so we don't need to do anything here. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1689>
This commit is contained in:
parent
ff4f8d2aa0
commit
92a0b16675
@ -311,9 +311,8 @@ swap_framebuffer (ClutterStageWindow *stage_window,
|
|||||||
clutter_stage_view_cogl_get_instance_private (view_cogl);
|
clutter_stage_view_cogl_get_instance_private (view_cogl);
|
||||||
NotifyPresentedClosure *closure;
|
NotifyPresentedClosure *closure;
|
||||||
|
|
||||||
CLUTTER_NOTE (BACKEND, "cogl_framebuffer_finish (framebuffer: %p)",
|
CLUTTER_NOTE (BACKEND, "fake offscreen swap (framebuffer: %p)",
|
||||||
framebuffer);
|
framebuffer);
|
||||||
cogl_framebuffer_finish (framebuffer);
|
|
||||||
|
|
||||||
closure = g_new0 (NotifyPresentedClosure, 1);
|
closure = g_new0 (NotifyPresentedClosure, 1);
|
||||||
closure->view = view;
|
closure->view = view;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user