summaryrefslogtreecommitdiffhomepage
path: root/main
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-11-29 17:32:12 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-11-29 17:32:12 +0100
commit09b1b3e7e4b80415db18e3944d548e7ab36f47cd (patch)
tree233855c6d2753de9cca0ecd9677f10508d6ed95c /main
parent222f1044f0b734dcc442a060acc6dbfdd40e50a6 (diff)
main: enable forward-compatible context
Diffstat (limited to 'main')
-rw-r--r--main/setup.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/setup.cpp b/main/setup.cpp
index d4008661..3a251451 100644
--- a/main/setup.cpp
+++ b/main/setup.cpp
@@ -66,6 +66,7 @@ auto main_impl::make_gl_conf(const fm_settings& s) -> GLConfiguration
{
GLConfiguration::Flags flags{};
using f = GLConfiguration::Flag;
+ flags |= f::ForwardCompatible;
if (s.gpu_debug >= fm_gpu_debug::on)
flags |= f::Debug | f::GpuValidation;
if (s.gpu_debug >= fm_gpu_debug::robust)