From 9acca4fc731cbdc12380ccd7efb924d846ee6646 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 6 Apr 2020 11:16:27 +0200 Subject: backend: set EGL_RENDERABLE_TYPE and EGL_SURFACE_TYPE Ensure these are set to the correct value. --- backend/x11/backend.c | 1 + 1 file changed, 1 insertion(+) (limited to 'backend/x11') diff --git a/backend/x11/backend.c b/backend/x11/backend.c index c204cfd0..6dc650ab 100644 --- a/backend/x11/backend.c +++ b/backend/x11/backend.c @@ -280,6 +280,7 @@ struct wlr_backend *wlr_x11_backend_create(struct wl_display *display, static EGLint config_attribs[] = { EGL_SURFACE_TYPE, EGL_WINDOW_BIT, + EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT, EGL_RED_SIZE, 1, EGL_GREEN_SIZE, 1, EGL_BLUE_SIZE, 1, -- cgit v1.2.3