gl: Synchronize when calling MakeCurrent
authorMatthias Clasen <mclasen@redhat.com>
Fri, 27 Jan 2023 12:07:36 +0000 (07:07 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 27 Jan 2023 12:09:34 +0000 (07:09 -0500)
commit9811485990b400cd60f7db2c5466c2e813099cfe
tree00c79a5b9028fb6908b0b1809442b8518c261079
parentb6795f8ff9548d5defe874a08a520d2611a5d723
gl: Synchronize when calling MakeCurrent

When making out GL context current, wait
until the GPU is done with commands from
the previous context.

Fixes: #5517
gdk/gdkgl.c