[gtk/wip/chergert/glproto: 102/493] make current before deleting program
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/chergert/glproto: 102/493] make current before deleting program
- Date: Fri, 19 Feb 2021 02:25:06 +0000 (UTC)
commit 62bfc63b2b70f77d5b47d238c6333b5e321ceedd
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]