[gtk/ci-jobs: 17/19] Declare global counters only in debug builds



commit 70549b364ffbdfc999aada47ef43de1b6fdb3bfb
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Wed Jan 29 14:03:56 2020 +0100

    Declare global counters only in debug builds

 gsk/vulkan/gskvulkanrenderer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gsk/vulkan/gskvulkanrenderer.c b/gsk/vulkan/gskvulkanrenderer.c
index 867f51b5d6..cd10a31857 100644
--- a/gsk/vulkan/gskvulkanrenderer.c
+++ b/gsk/vulkan/gskvulkanrenderer.c
@@ -37,10 +37,10 @@ typedef struct {
   GQuark cpu_time;
   GQuark gpu_time;
 } ProfileTimers;
-#endif
 
 static guint texture_pixels_counter;
 static guint fallback_pixels_counter;
+#endif
 
 struct _GskVulkanRenderer
 {


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