From 1ddd42cac9eb1a9db79d663ee8bd63ab7b2ae520 Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Wed, 30 Aug 2023 18:00:05 +0900 Subject: [PATCH] Reduce log verbosity on Release build --- src/main.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main.cc b/src/main.cc index 8ce0756..85a52fc 100644 --- a/src/main.cc +++ b/src/main.cc @@ -39,6 +39,10 @@ void jumpartifact_demo_update(void *ud) { int main() { InitWindow(800, 800, "Demo"); +#ifdef NDEBUG + SetTraceLogLevel(LOG_WARNING); +#endif + #ifdef __EMSCRIPTEN__ Game game{};