Merge pull request #3689 from degasus/EGL

EGL: Also check for higher GL versions.
This commit is contained in:
Ryan Houdek 2016-03-01 09:22:18 -05:00
commit c9743c2f14
1 changed files with 6 additions and 1 deletions

View File

@ -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 },
}};