diff options
author | Scott Anderson <ascent12@hotmail.com> | 2017-05-03 17:17:14 +1200 |
---|---|---|
committer | Scott Anderson <ascent12@hotmail.com> | 2017-05-03 17:17:14 +1200 |
commit | 15d247bf3455904bf2262d2bf5d27645c03c9399 (patch) | |
tree | 0e60257b86768b25f1986fd76a6424c017a20e7c /include/backend | |
parent | dbceaee9faaaf24016024bd22b38fa0186bb5e08 (diff) |
Changed drm to use new EGL interface.
Diffstat (limited to 'include/backend')
-rw-r--r-- | include/backend/drm/drm.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h index 17d4aa90..346974ca 100644 --- a/include/backend/drm/drm.h +++ b/include/backend/drm/drm.h @@ -7,6 +7,8 @@ #include <EGL/egl.h> #include <gbm.h> +#include "backend/egl.h" + struct wlr_drm_renderer { int fd; @@ -16,11 +18,7 @@ struct wlr_drm_renderer { struct wlr_drm_backend *backend; struct gbm_device *gbm; - struct { - EGLDisplay disp; - EGLConfig conf; - EGLContext context; - } egl; + struct wlr_egl egl; }; bool wlr_drm_renderer_init(struct wlr_drm_renderer *renderer, |