mirror of https://github.com/mgba-emu/mgba.git
Switch: Fixes for new mesa
This commit is contained in:
parent
9564a1ab60
commit
4b012035d8
|
@ -105,11 +105,11 @@ static bool initEgl() {
|
|||
goto _fail1;
|
||||
}
|
||||
|
||||
//EGLint contextAttributeList[] = {
|
||||
// EGL_CONTEXT_CLIENT_VERSION, 2,
|
||||
// EGL_NONE
|
||||
//};
|
||||
s_context = eglCreateContext(s_display, config, EGL_NO_CONTEXT, NULL);
|
||||
EGLint contextAttributeList[] = {
|
||||
EGL_CONTEXT_CLIENT_VERSION, 2,
|
||||
EGL_NONE
|
||||
};
|
||||
s_context = eglCreateContext(s_display, config, EGL_NO_CONTEXT, contextAttributeList);
|
||||
if (!s_context) {
|
||||
goto _fail2;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue