Commit: 027e64667dd59d4d46a06bd37e60aa666a9986ea
Parent: 6d2a961ffa4e57e0e05fdcffa358eda7f3fb2104
Author: Randy Palamar
Date: Mon, 10 Jun 2024 20:21:16 -0600
disable raylib info when not in debug
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/main.c b/main.c
@@ -77,6 +77,10 @@ main(void)
ctx.fg = (Color){ .r = 0xea, .g = 0xe1, .b = 0xb4, .a = 0xff };
ctx.colour.a = 1.0;
+ #ifndef _DEBUG
+ SetTraceLogLevel(LOG_ERROR);
+ #endif
+
SetConfigFlags(FLAG_VSYNC_HINT);
InitWindow(ctx.window_size.w, ctx.window_size.h, "Colour Picker");