Have our OpenGL/ES context creation be less stupid.
This commit is contained in:
1 parent
2a0adc3972
commit
f9ff0bc55d
6 files changed
+44
-16
No files matched your search
@@ -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