summaryrefslogtreecommitdiff
path: root/Source/Core/Common/GL/GLInterface/EGL.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/Common/GL/GLInterface/EGL.cpp')
-rw-r--r--Source/Core/Common/GL/GLInterface/EGL.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/Core/Common/GL/GLInterface/EGL.cpp b/Source/Core/Common/GL/GLInterface/EGL.cpp
index 92a7b91772..534d94b9ab 100644
--- a/Source/Core/Common/GL/GLInterface/EGL.cpp
+++ b/Source/Core/Common/GL/GLInterface/EGL.cpp
@@ -196,8 +196,13 @@ bool cInterfaceEGL::Create(void *window_handle, bool core)
if (supports_core_profile && core && s_opengl_mode == GLInterfaceMode::MODE_OPENGL)
{
- std::array<std::pair<int, int>, 2> versions_to_try =
+ std::array<std::pair<int, int>, 7> versions_to_try =
{{
+ { 4, 5 },
+ { 4, 4 },
+ { 4, 3 },
+ { 4, 2 },
+ { 4, 1 },
{ 4, 0 },
{ 3, 3 },
}};