|
@@ -1077,9 +1077,9 @@ int laGetReadyWith(laInitArguments* ia){
|
|
}
|
|
}
|
|
|
|
|
|
eglBindAPI(EGL_OPENGL_ES_API);
|
|
eglBindAPI(EGL_OPENGL_ES_API);
|
|
- static const EGLint ctx_attribs[] = {
|
|
|
|
|
|
+ EGLint ctx_attribs[] = {
|
|
EGL_CONTEXT_CLIENT_VERSION, MAIN.GLESMajor,
|
|
EGL_CONTEXT_CLIENT_VERSION, MAIN.GLESMajor,
|
|
- EGL_CONTEXT_MINOR_VERSION, 2,
|
|
|
|
|
|
+ EGL_CONTEXT_MINOR_VERSION, MAIN.GLESMinor,
|
|
EGL_NONE
|
|
EGL_NONE
|
|
};
|
|
};
|
|
MAIN.glc = eglCreateContext(MAIN.egl_dpy, MAIN.BestFBC, EGL_NO_CONTEXT, ctx_attribs);
|
|
MAIN.glc = eglCreateContext(MAIN.egl_dpy, MAIN.BestFBC, EGL_NO_CONTEXT, ctx_attribs);
|