[gtk/wip/chergert/glproto: 905/920] mark count as unused as its for debugging




commit e4dbf9d9c264e1394418f33e2b53f45abb9bd7d9
Author: Christian Hergert <chergert redhat com>
Date:   Thu Feb 4 13:57:58 2021 -0800

    mark count as unused as its for debugging

 gsk/next/gskglcommandqueue.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gsk/next/gskglcommandqueue.c b/gsk/next/gskglcommandqueue.c
index 1508e62645..2abdd0df64 100644
--- a/gsk/next/gskglcommandqueue.c
+++ b/gsk/next/gskglcommandqueue.c
@@ -755,6 +755,7 @@ gsk_gl_command_queue_execute (GskGLCommandQueue    *self,
                               guint                 scale_factor,
                               const cairo_region_t *scissor)
 {
+  G_GNUC_UNUSED guint count = 0;
   gboolean has_scissor = scissor != NULL;
   gboolean scissor_state = -1;
   graphene_rect_t scissor_test;
@@ -764,7 +765,6 @@ gsk_gl_command_queue_execute (GskGLCommandQueue    *self,
   guint program = 0;
   guint16 width = 0;
   guint16 height = 0;
-  guint count = 0;
   guint n_binds = 0;
   guint n_fbos = 0;
   guint n_uniforms = 0;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]