[gtk/wip/chergert/glproto: 164/526] make current before deleting program
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/chergert/glproto: 164/526] make current before deleting program
- Date: Tue, 16 Feb 2021 01:14:28 +0000 (UTC)
commit 3917f50595ef4b8261438ee94f2f2686eb4eb973
Author: Christian Hergert <chergert redhat com>
Date: Wed Dec 30 16:35:32 2020 -0800
make current before deleting program
gsk/next/gskglcommandqueue.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/gsk/next/gskglcommandqueue.c b/gsk/next/gskglcommandqueue.c
index 57bc7fe3b9..7888d48b55 100644
--- a/gsk/next/gskglcommandqueue.c
+++ b/gsk/next/gskglcommandqueue.c
@@ -560,6 +560,7 @@ gsk_gl_command_queue_delete_program (GskGLCommandQueue *self,
{
g_return_if_fail (GSK_IS_GL_COMMAND_QUEUE (self));
+ gsk_gl_command_queue_make_current (self);
glDeleteProgram (program);
gsk_gl_uniform_state_clear_program (self->uniforms, program);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]