summaryrefslogtreecommitdiffhomepage
path: root/main
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-25 15:10:55 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-25 15:10:55 +0200
commit45f2533113a0dfe4cf8a7723a1c76099d0a6d091 (patch)
treed2bebca8a5b5a81647416b2a8fda2246871edc99 /main
parent175e9c53c136ac0effc713e39ef8b65f9914f4ff (diff)
a
Diffstat (limited to 'main')
-rw-r--r--main/floormat-main-impl.cpp4
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);
}