[gtk/ci-jobs] Declare global counters only in debug builds
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/ci-jobs] Declare global counters only in debug builds
- Date: Wed, 29 Jan 2020 13:18:23 +0000 (UTC)
commit 6cad1a4283a3a423effa63e9cccf7b7cdbeddd6a
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]