From b18209c904f421f3065d610718d7d9e9b8b9211f Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Fri, 23 Jun 2017 11:38:45 -0400 Subject: Switch to GLES2 Closes #13 --- backend/egl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backend') 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); -- cgit v1.2.3