diff options
author | Scott Anderson <ascent12@hotmail.com> | 2017-09-26 14:57:23 +1300 |
---|---|---|
committer | Scott Anderson <ascent12@hotmail.com> | 2017-09-29 16:15:09 +1300 |
commit | 517ba0bc168d9968891e8ec0ca595e26ced535bf (patch) | |
tree | 7776046ed45f7c5d695f27f75d4fc8ce341c3844 /backend/drm | |
parent | 7ad2a57feb4c7e4b191edfbaa68ff3a2fd703f9f (diff) |
Change egl_get_config to always use visual id
Diffstat (limited to 'backend/drm')
-rw-r--r-- | backend/drm/drm.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |