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....
This commit is contained in:
degasus 2016-03-01 07:54:40 +01:00
parent 8e1aff34df
commit 64f9941595

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