[gtk/wip/chergert/glproto] more assertions



commit c591f4d5267de6238a99f8e1c26ca5b49715d914
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]