[gtk/wip/chergert/glproto: 110/493] more assertions
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/chergert/glproto: 110/493] more assertions
- Date: Fri, 19 Feb 2021 02:25:07 +0000 (UTC)
commit 51c50e2e1fb36d0714d3d67ef3d061d1f0cbc6a4
Author: Christian Hergert <chergert redhat com>
Date: Fri Jan 1 22:46:17 2021 -0800
more assertions
gsk/next/gskglcommandqueue.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/gsk/next/gskglcommandqueue.c b/gsk/next/gskglcommandqueue.c
index 7888d48b55..03012624e6 100644
--- a/gsk/next/gskglcommandqueue.c
+++ b/gsk/next/gskglcommandqueue.c
@@ -395,6 +395,8 @@ gsk_gl_command_queue_uniform_snapshot_cb (const GskGLUniformInfo *info,
GskGLCommandUniform uniform;
g_assert (info != NULL);
+ g_assert (info->initial == FALSE);
+ g_assert (info->changed == TRUE);
g_assert (GSK_IS_GL_COMMAND_QUEUE (self));
uniform.location = location;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]