summaryrefslogtreecommitdiffhomepage
path: root/main/debug.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main/debug.cpp')
-rw-r--r--main/debug.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/main/debug.cpp b/main/debug.cpp
index ae545678..f9b48958 100644
--- a/main/debug.cpp
+++ b/main/debug.cpp
@@ -18,11 +18,14 @@ 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 0
[[maybe_unused]] volatile auto _type = type;
[[maybe_unused]] volatile auto _id = id;
[[maybe_unused]] volatile auto _src = src;
[[maybe_unused]] volatile auto _severity = severity;
[[maybe_unused]] volatile const char* _str = str.data();
+#endif
+ (void)src; (void)type;
const char* p = str.c_str();
if (str.starts_with("Buffer detailed info: "))