summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-26 20:29:14 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-26 20:29:14 +0200
commit7ebc9669343ba5cf05eb3a5bbff00d12be231622 (patch)
tree54d784d74d1c909aef8faac896a4e989b3fbb779
parentc62f1ab468e8e968ccd557ab94f3be108176421f (diff)
fix typo
-rw-r--r--editor/app.cpp4
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;