[mutter/gbsneto/profiling-for-real: 2300/2303] cogl/trace: Adjust macro name




commit 91c207a1dfe790be0921748d558ff3f3addf0b13
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Sat Aug 20 00:56:25 2022 -0300

    cogl/trace: Adjust macro name
    
    The COGL_TRACE_SCOPED_ANCHOR macro isn't defined in the no-tracing
    code path, seems like a simple name mismatch. Adjust that.

 cogl/cogl/cogl-trace.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/cogl/cogl/cogl-trace.h b/cogl/cogl/cogl-trace.h
index 2008b97a51..a0f9333584 100644
--- a/cogl/cogl/cogl-trace.h
+++ b/cogl/cogl/cogl-trace.h
@@ -137,7 +137,7 @@ cogl_is_tracing_enabled (void)
 #define COGL_TRACE_END(Name) (void) 0
 #define COGL_TRACE_BEGIN_SCOPED(Name, name) (void) 0
 #define COGL_TRACE_DESCRIBE(Name, description) (void) 0
-#define COGL_TRACE_ANCHOR(Name) (void) 0
+#define COGL_TRACE_SCOPED_ANCHOR(Name) (void) 0
 #define COGL_TRACE_BEGIN_ANCHORED(Name, name) (void) 0
 
 COGL_EXPORT void


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