diff options
-rw-r--r-- | editor/app.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<StringView>("gpu-debug"); str == "no-error" || str == "NO-ERROR" || str == "none") + if (auto str = args.value<StringView>("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) |