diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-23 23:46:56 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-23 23:46:56 +0200 |
commit | 17283c55122234e7cc2dc352262b273d05aecff8 (patch) | |
tree | cbc8658fc02438779a9256b31c29a66aa5a80371 /main/debug.cpp | |
parent | 0efe01d0e7286e9eb60c4739ae748c0cb6e7a51f (diff) |
a
Diffstat (limited to 'main/debug.cpp')
-rw-r--r-- | main/debug.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/main/debug.cpp b/main/debug.cpp index 7e012b9d..efc47a6c 100644 --- a/main/debug.cpp +++ b/main/debug.cpp @@ -58,7 +58,7 @@ void main_impl::_debug_callback(GL::DebugOutput::Source src, GL::DebugOutput::Ty static_cast<const main_impl*>(self)->debug_callback(src, type, id, severity, str); } -void main_impl::register_debug_callback() noexcept +void* main_impl::register_debug_callback() noexcept { GL::DebugOutput::setCallback(_debug_callback, this); @@ -66,6 +66,8 @@ void main_impl::register_debug_callback() noexcept /* Disable rather spammy "Buffer detailed info" debug messages on NVidia drivers */ GL::DebugOutput::setEnabled(GL::DebugOutput::Source::Api, GL::DebugOutput::Type::Other, {131185}, false); #endif + + return nullptr; } } // namespace floormat |