diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-06-23 11:38:45 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2017-06-23 11:38:45 -0400 |
commit | b18209c904f421f3065d610718d7d9e9b8b9211f (patch) | |
tree | f1b5bcf3c1c7ee50e4a2a3f03c68c1136ef4ed44 /backend/egl.c | |
parent | 168f0955ab5d6b614eb841bcb0ea684dd9105ef8 (diff) |
Switch to GLES2
Closes #13
Diffstat (limited to 'backend/egl.c')
-rw-r--r-- | backend/egl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/egl.c b/backend/egl.c index 66aa6a4e..8bb05f6f 100644 --- a/backend/egl.c +++ b/backend/egl.c @@ -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); |