gl: Set correct context when disposing GLDriver

This commit is contained in:
Benjamin Otte
2024-08-10 01:40:09 +02:00
parent c492e71aed
commit 2ee16e5dd9

View File

@@ -217,6 +217,9 @@ gsk_gl_driver_dispose (GObject *object)
g_assert (GSK_IS_GL_DRIVER (self));
g_assert (self->in_frame == FALSE);
if (self->shared_command_queue)
gsk_gl_command_queue_make_current (self->shared_command_queue);
#define GSK_GL_NO_UNIFORMS
#define GSK_GL_SHADER_RESOURCE(name)
#define GSK_GL_SHADER_STRING(str)