From 8832eeb71a527e9c2f525a002f3b8e388a343b78 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 31 Aug 2023 05:47:30 +0200 Subject: rename gl debug breakpoint --- main/debug.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main/debug.cpp b/main/debug.cpp index 24a4d07c..12aaaf9f 100644 --- a/main/debug.cpp +++ b/main/debug.cpp @@ -5,8 +5,8 @@ namespace floormat { using Severity = GL::DebugOutput::Severity; -CORRADE_NEVER_INLINE extern "C" void put_debug_breakpoint_here(); -CORRADE_NEVER_INLINE extern "C" void put_debug_breakpoint_here() {} +CORRADE_NEVER_INLINE void gl_debug_put_breakpoint_here(); +void gl_debug_put_breakpoint_here() {} // NOLINTNEXTLINE(readability-convert-member-functions-to-static) void main_impl::debug_callback(unsigned src, unsigned type, unsigned id, unsigned severity, StringView str) const @@ -52,7 +52,7 @@ void main_impl::debug_callback(unsigned src, unsigned type, unsigned id, unsigne #endif //debug_break(); - put_debug_breakpoint_here(); + gl_debug_put_breakpoint_here(); } static void _debug_callback(GL::DebugOutput::Source src, GL::DebugOutput::Type type, UnsignedInt id, -- cgit v1.2.3