From 5c6bf5fcf7ecfb151964dcfbc9c0106f66144734 Mon Sep 17 00:00:00 2001 From: RSDuck Date: Thu, 13 Oct 2022 01:10:08 +0200 Subject: [PATCH] try creating an OGL 4.3 context first (https://i.kym-cdn.com/photos/images/original/001/264/842/220.png) --- src/frontend/qt_sdl/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frontend/qt_sdl/main.cpp b/src/frontend/qt_sdl/main.cpp index da01214c..eb6ce4a7 100644 --- a/src/frontend/qt_sdl/main.cpp +++ b/src/frontend/qt_sdl/main.cpp @@ -1265,8 +1265,8 @@ bool ScreenPanelGL::createContext() { std::optional windowInfo = getWindowInfo(); std::array versionsToTry = { - GL::Context::Version{GL::Context::Profile::Core, 3, 2}, - GL::Context::Version{GL::Context::Profile::Core, 4, 3}}; + GL::Context::Version{GL::Context::Profile::Core, 4, 3}, + GL::Context::Version{GL::Context::Profile::Core, 3, 2}}; if (windowInfo.has_value()) { glContext = GL::Context::Create(*getWindowInfo(), versionsToTry);