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/headless/backend.c | 1 + 1 file changed, 1 insertion(+) (limited to 'backend/headless') diff --git a/backend/headless/backend.c b/backend/headless/backend.c index 7b189f49..19c62078 100644 --- a/backend/headless/backend.c +++ b/backend/headless/backend.c @@ -101,6 +101,7 @@ struct wlr_backend *wlr_headless_backend_create(struct wl_display *display, static const EGLint config_attribs[] = { EGL_SURFACE_TYPE, EGL_PBUFFER_BIT, + EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT, EGL_ALPHA_SIZE, 0, EGL_BLUE_SIZE, 1, EGL_GREEN_SIZE, 1, -- cgit v1.2.3