From b1d66390ca5d11e48f58bb87f49b0f9da5338ca0 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 10 Nov 2022 13:27:49 +0100 Subject: argv crap --- editor/app.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'editor') diff --git a/editor/app.cpp b/editor/app.cpp index 1795acc3..22c5d377 100644 --- a/editor/app.cpp +++ b/editor/app.cpp @@ -62,9 +62,9 @@ int app::run_from_argv(const int argc, const char* const* const argv) .parse(argc, argv); opts.vsync = parse_bool("vsync", args, opts.vsync); opts.msaa = parse_bool("msaa", args, opts.msaa); - if (auto str = args.value("gpu-debug"); str == "no-error" || str == "NO-ERROR" || str == "none") + if (auto str = args.value("gpu-debug"); str == "no-error" || str == "none") opts.gpu_debug = fm_gpu_debug::no_error; - else if (str == "robust" || str == "ROBUST") + else if (str == "robust" || str == "full") opts.gpu_debug = fm_gpu_debug::robust; else opts.gpu_debug = parse_bool("gpu-debug", args, opts.gpu_debug > fm_gpu_debug::off) -- cgit v1.2.3