Merge branch 'wip/otte/for-master' into 'master'

ngl: Make current when unrealizing

See merge request GNOME/gtk!3835
This commit is contained in:
Benjamin Otte 2021-08-08 01:09:31 +00:00
commit ea07bf7536

View File

@ -137,9 +137,11 @@ gsk_ngl_renderer_unrealize (GskRenderer *renderer)
g_assert (GSK_IS_NGL_RENDERER (renderer));
gdk_gl_context_make_current (self->context);
g_clear_object (&self->driver);
g_clear_object (&self->context);
g_clear_object (&self->command_queue);
g_clear_object (&self->context);
}
static cairo_region_t *