diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-25 15:10:55 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-25 15:10:55 +0200 |
commit | 45f2533113a0dfe4cf8a7723a1c76099d0a6d091 (patch) | |
tree | d2bebca8a5b5a81647416b2a8fda2246871edc99 /main | |
parent | 175e9c53c136ac0effc713e39ef8b65f9914f4ff (diff) |
a
Diffstat (limited to 'main')
-rw-r--r-- | main/floormat-main-impl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/floormat-main-impl.cpp b/main/floormat-main-impl.cpp index 0a0400fb..1f35024e 100644 --- a/main/floormat-main-impl.cpp +++ b/main/floormat-main-impl.cpp @@ -60,9 +60,9 @@ auto main_impl::make_gl_conf(const fm_settings& s) -> GLConfiguration using f = GLConfiguration::Flag; if (s.gpu_debug >= fm_gpu_debug::on) flags |= f::Debug | f::GpuValidation; - if (s.gpu_debug == fm_gpu_debug::robust) + if (s.gpu_debug >= fm_gpu_debug::robust) flags |= f::RobustAccess; - else if (s.gpu_debug <= fm_gpu_debug::off) + else if (s.gpu_debug <= fm_gpu_debug::no_error) flags |= f::NoError; return GLConfiguration{}.setFlags(flags); } |