From 8009972ccbb68a252050a353aada458e9e05b893 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 6 Mar 2023 18:16:36 +0100 Subject: main: don't override magnum's cmdline options --- main/debug.cpp | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'main/debug.cpp') 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 -- cgit v1.2.3