forked from AuroraMiddleware/gtk
Merge branch 'wip/otte/for-master' into 'master'
ngl: Make current when unrealizing See merge request GNOME/gtk!3835
This commit is contained in:
commit
ea07bf7536
@ -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 *
|
||||
|
Loading…
Reference in New Issue
Block a user