From bafde6416401672cc7838f02af504561d34681fb Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 19 Oct 2022 06:25:39 +0200 Subject: a --- main/debug.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'main/debug.cpp') diff --git a/main/debug.cpp b/main/debug.cpp index 24deb775..e8d48d3e 100644 --- a/main/debug.cpp +++ b/main/debug.cpp @@ -18,6 +18,9 @@ void app::debug_callback(GL::DebugOutput::Source src, GL::DebugOutput::Type type static thread_local auto clock = std::chrono::steady_clock{}; static const auto t0 = clock.now(); + if (id == 131185 && severity == GL::DebugOutput::Severity::Notification) + return; + #if 0 [[maybe_unused]] volatile auto _type = type; [[maybe_unused]] volatile auto _id = id; @@ -58,8 +61,8 @@ void app::debug_callback(GL::DebugOutput::Source src, GL::DebugOutput::Type type std::fputs("", stdout); // put breakpoint here } -static void _debug_callback(GL::DebugOutput::Source src, GL::DebugOutput::Type type, UnsignedInt id, - GL::DebugOutput::Severity severity, const std::string& str, const void* self) +void app::_debug_callback(GL::DebugOutput::Source src, GL::DebugOutput::Type type, UnsignedInt id, + GL::DebugOutput::Severity severity, const std::string& str, const void* self) { static_cast(self)->debug_callback(src, type, id, severity, str); } -- cgit v1.2.3