From 45f2533113a0dfe4cf8a7723a1c76099d0a6d091 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 25 Oct 2022 15:10:55 +0200 Subject: a --- main/floormat-main-impl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main') 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); } -- cgit v1.2.3