summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-08-31 05:47:30 +0200
committerStanislaw Halik <sthalik@misaki.pl>2023-08-31 06:34:06 +0200
commit8832eeb71a527e9c2f525a002f3b8e388a343b78 (patch)
tree935ca5d745d992d64c7f9616035b4a8c1985ab77
parent17aa75893e7543b5e213bcdb5e5e909a93a2e4bd (diff)
rename gl debug breakpoint
-rw-r--r--main/debug.cpp6
1 files 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,