mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
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:
parent
8e1aff34df
commit
64f9941595
@ -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 },
|
||||
}};
|
||||
|
Loading…
Reference in New Issue
Block a user