try creating an OGL 4.3 context first
(https://i.kym-cdn.com/photos/images/original/001/264/842/220.png)
This commit is contained in:
parent
f6654166e0
commit
5c6bf5fcf7
|
@ -1265,8 +1265,8 @@ bool ScreenPanelGL::createContext()
|
|||
{
|
||||
std::optional<WindowInfo> windowInfo = getWindowInfo();
|
||||
std::array<GL::Context::Version, 2> 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);
|
||||
|
|
Loading…
Reference in New Issue