summaryrefslogtreecommitdiffhomepage
path: root/main/debug.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-19 09:50:51 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-19 09:50:51 +0200
commit76dc5c07995d32d603be96e7df3abea2e43e1ea8 (patch)
tree7a3dbbe1e477dbb8d1116aa6879b45b9e9e36eda /main/debug.cpp
parent7eb9aeb9d38bd70979d95601d45401b310c00c03 (diff)
fix debug (it was like that for a reason)
Diffstat (limited to 'main/debug.cpp')
-rw-r--r--main/debug.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/main/debug.cpp b/main/debug.cpp
index a8d2e508..2b7d9e1d 100644
--- a/main/debug.cpp
+++ b/main/debug.cpp
@@ -18,10 +18,7 @@ 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
+#if 1
[[maybe_unused]] volatile auto _type = type;
[[maybe_unused]] volatile auto _id = id;
[[maybe_unused]] volatile auto _src = src;
@@ -70,7 +67,6 @@ void app::_debug_callback(GL::DebugOutput::Source src, GL::DebugOutput::Type typ
void* app::register_debug_callback()
{
GL::DebugOutput::setCallback(_debug_callback, this);
- GL::DebugOutput::setEnabled(true);
#if 1
/* Disable rather spammy "Buffer detailed info" debug messages on NVidia drivers */