aboutsummaryrefslogtreecommitdiff
path: root/backend/egl.c
diff options
context:
space:
mode:
Diffstat (limited to 'backend/egl.c')
-rw-r--r--backend/egl.c2
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);