aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/qt_sdl
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2024-04-29 14:17:23 +0200
committerlonkaars <loek@pipeframe.xyz>2024-04-29 14:17:23 +0200
commit38914493e5aafa7fb3b7562fe05f9e31d07e429a (patch)
tree39421f4b47955f684e672e803c415b936a938aa7 /src/frontend/qt_sdl
parentba8d547dfa81539f4e8474152d92e866ad89241b (diff)
make myself at home
Diffstat (limited to 'src/frontend/qt_sdl')
-rw-r--r--src/frontend/qt_sdl/Platform.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/frontend/qt_sdl/Platform.cpp b/src/frontend/qt_sdl/Platform.cpp
index b3230a4..d0272a0 100644
--- a/src/frontend/qt_sdl/Platform.cpp
+++ b/src/frontend/qt_sdl/Platform.cpp
@@ -453,6 +453,9 @@ u64 FileLength(FileHandle* file)
void Log(LogLevel level, const char* fmt, ...)
{
+ // disable noisy log messages
+ if (level == LogLevel::Debug) return;
+
if (fmt == nullptr)
return;