From 1f1951218e715e12eaf5d8cd338b6e5459872acb Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 9 Oct 2022 05:16:19 +0200 Subject: a --- main/debug.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/main/debug.cpp b/main/debug.cpp index b0d010b6..ae545678 100644 --- a/main/debug.cpp +++ b/main/debug.cpp @@ -28,9 +28,9 @@ void app::debug_callback(GL::DebugOutput::Source src, GL::DebugOutput::Type type if (str.starts_with("Buffer detailed info: ")) p = str.data() + sizeof("Buffer detailed info: ") - 1; - using millis = std::chrono::duration; - const auto t = std::chrono::duration_cast(clock.now() - t0).count(); - printf("[%-9.1f] ", t); + using seconds = std::chrono::duration; + const auto t = std::chrono::duration_cast(clock.now() - t0).count(); + printf("[%10.03f] ", t); switch (severity) { @@ -41,7 +41,7 @@ void app::debug_callback(GL::DebugOutput::Source src, GL::DebugOutput::Type type case High: std::fputs("ERROR ", stdout); break; default: std::fputs("????? ", stdout); break; } - printf("%6u: ", id); + printf("%6u ", id); std::puts(p); std::fflush(stdout); -- cgit v1.2.3