diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-10 11:40:50 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-10 11:40:50 +0100 |
commit | 50bddb29135723b6b2a825302d239ebf8ed7fb9f (patch) | |
tree | a9bc4d47da8bf6ce122160d4d1856cd53465c2da /editor/app.cpp | |
parent | 2a59c1b43f0818e0f8e8ab4d11d9046426148338 (diff) |
random garbage
Diffstat (limited to 'editor/app.cpp')
-rw-r--r-- | editor/app.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/app.cpp b/editor/app.cpp index a2c8b104..1795acc3 100644 --- a/editor/app.cpp +++ b/editor/app.cpp @@ -62,7 +62,7 @@ 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") + if (auto str = args.value<StringView>("gpu-debug"); str == "no-error" || str == "NO-ERROR" || str == "none") opts.gpu_debug = fm_gpu_debug::no_error; else if (str == "robust" || str == "ROBUST") opts.gpu_debug = fm_gpu_debug::robust; |