summaryrefslogtreecommitdiff
path: root/Source/Core/Common
diff options
context:
space:
mode:
authordegasus <wickmarkus@web.de>2016-03-01 07:54:40 +0100
committerdegasus <wickmarkus@web.de>2016-03-01 07:55:57 +0100
commit64f9941595f2e27e7a86c59542ab77f9d615ccf7 (patch)
tree8cefba9ad4119646136df72c0c16abeb7a72f3ed /Source/Core/Common
parent8e1aff34df7650717d3aa5a70095ffaac1ea5035 (diff)
EGL: Also check for higher GL versions.
Seems like NVidia just ignores the forward compatible flag. Additionally, they neither enable any extension which was designed later... So either compatible profile, or a huge list of core profiles....
Diffstat (limited to 'Source/Core/Common')
-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 },
}};