summaryrefslogtreecommitdiffhomepage
path: root/main/floormat-main-impl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main/floormat-main-impl.cpp')
-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);
}