mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
GLContext: Try GL versions 3.2-4.6 when getting a context
GLX previously was only creating a 4.0 context.
This commit is contained in:
parent
c95802afeb
commit
2c6d96433c
5 changed files with 31 additions and 38 deletions
|
@ -25,6 +25,9 @@
|
|||
#endif
|
||||
#endif
|
||||
|
||||
const std::array<std::pair<int, int>, 9> GLContext::s_desktop_opengl_versions = {
|
||||
{{4, 6}, {4, 5}, {4, 4}, {4, 3}, {4, 2}, {4, 1}, {4, 0}, {3, 3}, {3, 2}}};
|
||||
|
||||
GLContext::~GLContext() = default;
|
||||
|
||||
bool GLContext::Initialize(void* display_handle, void* window_handle, bool stereo, bool core)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue