all repos — mgba @ 4b012035d83026cb86e9126dcafee9a02c9f2cd9

mGBA Game Boy Advance Emulator

Switch: Fixes for new mesa
Vicki Pfau vi@endrift.com
Tue, 18 Sep 2018 20:51:35 -0700
commit

4b012035d83026cb86e9126dcafee9a02c9f2cd9

parent

9564a1ab606ffcf28af258cafcb8f7ceff614720

1 files changed, 5 insertions(+), 5 deletions(-)

jump to
M src/platform/switch/main.csrc/platform/switch/main.c

@@ -105,11 +105,11 @@ if (!s_surface) {

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; }