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:
Jonas Ådahl 2020-03-05 21:59:31 +01:00 committed by Marge Bot
parent ff4f8d2aa0
commit 92a0b16675

View File

@ -311,9 +311,8 @@ swap_framebuffer (ClutterStageWindow *stage_window,
clutter_stage_view_cogl_get_instance_private (view_cogl);
NotifyPresentedClosure *closure;
CLUTTER_NOTE (BACKEND, "cogl_framebuffer_finish (framebuffer: %p)",
CLUTTER_NOTE (BACKEND, "fake offscreen swap (framebuffer: %p)",
framebuffer);
cogl_framebuffer_finish (framebuffer);
closure = g_new0 (NotifyPresentedClosure, 1);
closure->view = view;