summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2023-05-10 20:45:39 -0400
committerMatthias Clasen <mclasen@redhat.com>2023-05-11 06:13:42 -0400
commit9faf1a03778e1b095249ebc2b5ac70f28eeea392 (patch)
treefa30b390aaac1890a3285415b565aeddc8c0c6ee
parent1a9c03449e7b9441dc2680ee4b1ec1815b91f238 (diff)
downloadgtk+-9faf1a03778e1b095249ebc2b5ac70f28eeea392.tar.gz
gsk: Comment out some debug code
The calls of these functions are #ifdef'ed out, so no point in compiling these functions.
-rw-r--r--gsk/gl/gskglcommandqueue.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gsk/gl/gskglcommandqueue.c b/gsk/gl/gskglcommandqueue.c
index 30e3c83ba5..e7af501582 100644
--- a/gsk/gl/gskglcommandqueue.c
+++ b/gsk/gl/gskglcommandqueue.c
@@ -41,6 +41,7 @@
G_DEFINE_TYPE (GskGLCommandQueue, gsk_gl_command_queue, G_TYPE_OBJECT)
+#if 0
G_GNUC_UNUSED static inline void
print_uniform (GskGLUniformFormat format,
guint array_count,
@@ -231,6 +232,7 @@ gsk_gl_command_queue_capture_png (GskGLCommandQueue *self,
gdk_texture_save_to_png (texture, filename);
g_object_unref (texture);
}
+#endif
static inline gboolean
will_ignore_batch (GskGLCommandQueue *self)