summaryrefslogtreecommitdiff
path: root/gsk
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2021-12-16 11:04:37 +0100
committerTimm Bäder <mail@baedert.org>2021-12-16 11:06:50 +0100
commitceb61e6600978fcd2739a89c56bba6cebb8ab57d (patch)
treed0039378943fcae1b35463bd3ea7951991a829f4 /gsk
parentae60293c24957ff1759c2b1f71f2246a60d4be6b (diff)
downloadgtk+-ceb61e6600978fcd2739a89c56bba6cebb8ab57d.tar.gz
gskglcommandqueue: Mark some variables G_GNUC_UNUSED
These are unused if sysprof isn't being used.
Diffstat (limited to 'gsk')
-rw-r--r--gsk/gl/gskglcommandqueue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gsk/gl/gskglcommandqueue.c b/gsk/gl/gskglcommandqueue.c
index fa8ac1defb..3c7762e6fc 100644
--- a/gsk/gl/gskglcommandqueue.c
+++ b/gsk/gl/gskglcommandqueue.c
@@ -952,9 +952,9 @@ gsk_gl_command_queue_execute (GskGLCommandQueue *self,
guint program = 0;
guint width = 0;
guint height = 0;
- guint n_binds = 0;
+ G_GNUC_UNUSED guint n_binds = 0;
guint n_fbos = 0;
- guint n_uniforms = 0;
+ G_GNUC_UNUSED guint n_uniforms = 0;
guint n_programs = 0;
guint vao_id;
guint vbo_id;