Switch to GLES2

Closes #13
This commit is contained in:
Drew DeVault 2017-06-23 11:38:45 -04:00
parent 168f0955ab
commit b18209c904
14 changed files with 97 additions and 111 deletions

View file

@ -136,7 +136,7 @@ bool wlr_egl_init(struct wlr_egl *egl, EGLenum platform, void *display) {
goto error;
}
static const EGLint attribs[] = {EGL_CONTEXT_CLIENT_VERSION, 3, EGL_NONE};
static const EGLint attribs[] = {EGL_CONTEXT_CLIENT_VERSION, 2, EGL_NONE};
egl->context = eglCreateContext(egl->display, egl->config,
EGL_NO_CONTEXT, attribs);