gsk: Drop an unnecessary call

The renderer should make all the necessary
make_current calls.
This commit is contained in:
Matthias Clasen
2023-02-01 18:35:11 +01:00
parent 90500519d6
commit beabe8c33b

View File

@@ -1377,7 +1377,6 @@ gsk_gl_driver_create_gdk_texture (GskGLDriver *self,
texture->texture_id = 0;
gsk_gl_texture_free (texture);
gdk_gl_context_make_current (state->context);
state->sync = glFenceSync (GL_SYNC_GPU_COMMANDS_COMPLETE, 0);
return gdk_gl_texture_new_with_sync (self->command_queue->context,