From 517ba0bc168d9968891e8ec0ca595e26ced535bf Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Tue, 26 Sep 2017 14:57:23 +1300 Subject: Change egl_get_config to always use visual id --- backend/drm/drm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'backend/drm') diff --git a/backend/drm/drm.c b/backend/drm/drm.c index 8e70e528..1a656172 100644 --- a/backend/drm/drm.c +++ b/backend/drm/drm.c @@ -182,7 +182,8 @@ bool wlr_drm_renderer_init(struct wlr_drm_renderer *renderer, int fd) { return false; } - if (!wlr_egl_init(&renderer->egl, EGL_PLATFORM_GBM_MESA, renderer->gbm)) { + if (!wlr_egl_init(&renderer->egl, EGL_PLATFORM_GBM_MESA, + GBM_FORMAT_ARGB8888, renderer->gbm)) { gbm_device_destroy(renderer->gbm); return false; } -- cgit v1.2.3