diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-10 13:27:49 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-10 13:27:49 +0100 |
commit | b1d66390ca5d11e48f58bb87f49b0f9da5338ca0 (patch) | |
tree | 0b70f708831550c46e0286547a569ee78bd4550a /editor | |
parent | a60021403a35802d3e0a404ffea969f1492f91b2 (diff) |
argv crap
Diffstat (limited to 'editor')
-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) |