From 2db4158d0eaa05b9a7cc7b2e18567cdb38e45a20 Mon Sep 17 00:00:00 2001 From: HampusM Date: Fri, 1 Mar 2024 19:13:13 +0100 Subject: fix(engine): prevent logging notification OpenGL debug messages --- engine/src/renderer/mod.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'engine') diff --git a/engine/src/renderer/mod.rs b/engine/src/renderer/mod.rs index 64d5e3c..8977ac9 100644 --- a/engine/src/renderer/mod.rs +++ b/engine/src/renderer/mod.rs @@ -430,6 +430,10 @@ fn opengl_debug_message_cb( }; } + if matches!(severity, MessageSeverity::Notification) { + return; + } + match ty { MessageType::Error => { create_event!(Level::ERROR); -- cgit v1.2.3-18-g5258