summaryrefslogtreecommitdiffhomepage
path: root/main/debug.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main/debug.cpp')
-rw-r--r--main/debug.cpp7
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);
}