diff options
author | Simon Ser <contact@emersion.fr> | 2020-04-06 11:16:27 +0200 |
---|---|---|
committer | Scott Anderson <scott@anderso.nz> | 2020-04-09 00:15:25 +0000 |
commit | 9acca4fc731cbdc12380ccd7efb924d846ee6646 (patch) | |
tree | ca3e652e29de4401b48950d92ed2dd5b4d1d6663 /backend/drm | |
parent | 6787ff521bc55456947180f429e4a9eca70754c6 (diff) |
backend: set EGL_RENDERABLE_TYPE and EGL_SURFACE_TYPE
Ensure these are set to the correct value.
Diffstat (limited to 'backend/drm')
-rw-r--r-- | backend/drm/renderer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/backend/drm/renderer.c b/backend/drm/renderer.c index 25101a4b..8b295db1 100644 --- a/backend/drm/renderer.c +++ b/backend/drm/renderer.c @@ -25,6 +25,8 @@ bool init_drm_renderer(struct wlr_drm_backend *drm, } 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, |