summaryrefslogtreecommitdiffhomepage
path: root/main/debug.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-09 07:09:23 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-09 07:09:23 +0200
commit5b97a6de06e7c44e7960159dc98c54860170203b (patch)
treed251705c2db0f7c9f53127e7dcc3e8c7d3737afa /main/debug.cpp
parent1f1951218e715e12eaf5d8cd338b6e5459872acb (diff)
a
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: "))