summaryrefslogtreecommitdiffhomepage
path: root/main/debug.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-03-06 18:16:36 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-03-06 18:16:36 +0100
commit8009972ccbb68a252050a353aada458e9e05b893 (patch)
treec83f688a909f5637484273987a342e0030ad551d /main/debug.cpp
parent8f275a126f56f4d1cb54c99a467ce8a29de0f6ea (diff)
main: don't override magnum's cmdline options
Diffstat (limited to 'main/debug.cpp')
-rw-r--r--main/debug.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/main/debug.cpp b/main/debug.cpp
index 2d320a3b..eaac17b7 100644
--- a/main/debug.cpp
+++ b/main/debug.cpp
@@ -65,19 +65,4 @@ void main_impl::register_debug_callback()
GL::DebugOutput::setCallback(_debug_callback, this);
}
-char main_impl::maybe_register_debug_callback(fm_gpu_debug flag)
-{
- using enum fm_gpu_debug;
- switch (flag)
- {
- default:
- register_debug_callback();
- break;
- case off:
- case no_error:
- break;
- }
- return '\0';
-}
-
} // namespace floormat