diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-19 06:25:39 +0200 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-19 06:25:39 +0200 |
| commit | bafde6416401672cc7838f02af504561d34681fb (patch) | |
| tree | 35a99b8241e19240bc339b9efbaece19ee87907e /main/debug.cpp | |
| parent | f07d626a2661858c0c5f820bd64c7151c76a4ecd (diff) | |
a
Diffstat (limited to 'main/debug.cpp')
| -rw-r--r-- | main/debug.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
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<const app*>(self)->debug_callback(src, type, id, severity, str); } |
