[gtk/wip/chergert/glproto: 172/526] more assertions
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/chergert/glproto: 172/526] more assertions
- Date: Tue, 16 Feb 2021 01:14:28 +0000 (UTC)
commit 89eea5af260886b618b229691d9cc9b997e903cd
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]