summaryrefslogtreecommitdiff
path: root/cogl
diff options
context:
space:
mode:
authorUday Kiran Pichika <pichika.uday.kiran@intel.com>2020-10-21 11:23:13 +0530
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>2020-10-21 12:10:16 +0000
commitd504086ebf20ee53c66213c4e06c99cc1a6432b6 (patch)
tree9b38e03c2df950a60e78e2391aac3770a8f27512 /cogl
parent9d0bac07547f739b22321a03906499275363d58f (diff)
downloadmutter-d504086ebf20ee53c66213c4e06c99cc1a6432b6.tar.gz
cogl: correcting the cogl trace log
Remove the extra & symbol appearing in cogl debug log https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1517
Diffstat (limited to 'cogl')
-rw-r--r--cogl/cogl/cogl-debug.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cogl/cogl/cogl-debug.h b/cogl/cogl/cogl-debug.h
index bcbce9791..82a572b9c 100644
--- a/cogl/cogl/cogl-debug.h
+++ b/cogl/cogl/cogl-debug.h
@@ -94,14 +94,14 @@ unsigned long _cogl_debug_flags[COGL_DEBUG_N_LONGS];
#ifdef __GNUC__
#define COGL_NOTE(type,x,a...) G_STMT_START { \
if (G_UNLIKELY (COGL_DEBUG_ENABLED (COGL_DEBUG_##type))) { \
- _cogl_profile_trace_message ("[" #type "] " G_STRLOC " & " x, ##a); \
+ _cogl_profile_trace_message ("[" #type "] " G_STRLOC ": " x, ##a); \
} } G_STMT_END
#else
#define COGL_NOTE(type,...) G_STMT_START { \
if (G_UNLIKELY (COGL_DEBUG_ENABLED (COGL_DEBUG_##type))) { \
char *_fmt = g_strdup_printf (__VA_ARGS__); \
- _cogl_profile_trace_message ("[" #type "] " G_STRLOC " & %s", _fmt);\
+ _cogl_profile_trace_message ("[" #type "] " G_STRLOC ": %s", _fmt);\
g_free (_fmt); \
} } G_STMT_END