From 64f9941595f2e27e7a86c59542ab77f9d615ccf7 Mon Sep 17 00:00:00 2001 From: degasus Date: Tue, 1 Mar 2016 07:54:40 +0100 Subject: [PATCH] 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.... --- Source/Core/Common/GL/GLInterface/EGL.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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, 2> versions_to_try = + std::array, 7> versions_to_try = {{ + { 4, 5 }, + { 4, 4 }, + { 4, 3 }, + { 4, 2 }, + { 4, 1 }, { 4, 0 }, { 3, 3 }, }};