cogl: Update latest sync fd also in cogl_onscreen_swap_region
Same as in cogl_onscreen_swap_buffers_with_damage. Fixes: 99209958b90b ("cogl: Store latest GPU work completed sync fd") Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4057>
This commit is contained in:
parent
e5c0887524
commit
0348913afa
@ -350,6 +350,8 @@ cogl_onscreen_swap_region (CoglOnscreen *onscreen,
|
||||
|
||||
if (G_UNLIKELY (COGL_DEBUG_ENABLED (COGL_DEBUG_SYNC_FRAME)))
|
||||
cogl_framebuffer_finish (framebuffer);
|
||||
else
|
||||
_cogl_context_update_sync (context);
|
||||
|
||||
/* This should only be called if the winsys advertises
|
||||
COGL_WINSYS_FEATURE_SWAP_REGION */
|
||||
|
Loading…
x
Reference in New Issue
Block a user