diff options
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 bb80dda5..8f69f701 100644 --- a/editor/app.cpp +++ b/editor/app.cpp @@ -60,12 +60,12 @@ 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-validation"); str == "no-error" || str == "NO-ERROR") + if (auto str = args.value<StringView>("gpu-debug"); str == "no-error" || str == "NO-ERROR") opts.gpu_debug = fm_gpu_debug::no_error; else if (str == "robust" || str == "ROBUST") opts.gpu_debug = fm_gpu_debug::robust; else - opts.gpu_debug = parse_bool("gpu-validation", args, opts.gpu_debug > fm_gpu_debug::off) + opts.gpu_debug = parse_bool("gpu-debug", args, opts.gpu_debug > fm_gpu_debug::off) ? fm_gpu_debug::on : fm_gpu_debug::off; |