From 50bddb29135723b6b2a825302d239ebf8ed7fb9f Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 10 Nov 2022 11:40:50 +0100 Subject: random garbage --- editor/app.cpp | 2 +- editor/precomp.hpp | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) (limited to 'editor') 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("gpu-debug"); str == "no-error" || str == "NO-ERROR") + if (auto str = args.value("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; diff --git a/editor/precomp.hpp b/editor/precomp.hpp index 93ff8164..27d0f317 100644 --- a/editor/precomp.hpp +++ b/editor/precomp.hpp @@ -1,14 +1,20 @@ #pragma once #include "src/precomp.hpp" + #include +#include + +#include +#include #include -#include -#include #include #include + #if __has_include() #include +#include +#include #endif -- cgit v1.2.3