From 5b97a6de06e7c44e7960159dc98c54860170203b Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 9 Oct 2022 07:09:23 +0200 Subject: a --- main/debug.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'main/debug.cpp') 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: ")) -- cgit v1.2.3