mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Have our OpenGL/ES context creation be less stupid.
This commit is contained in:
@ -179,6 +179,10 @@ bool VideoBackend::Initialize(void *&window_handle)
|
||||
UpdateActiveConfig();
|
||||
|
||||
InitInterface();
|
||||
GLInterface->SetMode(GLInterfaceMode::MODE_OPENGL);
|
||||
#ifdef USE_GLES3
|
||||
GLInterface->SetMode(GLInterfaceMode::MODE_OPENGLES3);
|
||||
#endif
|
||||
if (!GLInterface->Create(window_handle))
|
||||
return false;
|
||||
|
||||
|
Reference in New Issue
Block a user