diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-05-25 08:38:44 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-25 08:38:44 -0400 |
commit | 35b31dcfb7f54c08301c4eb352325bb852b1bece (patch) | |
tree | 93d550e437722bdeabca5605ada5c0b4d41128cf /include/backend | |
parent | a0eb37e2ea4ad96b4f6e98fddbc5c31d0bd0f293 (diff) | |
parent | 24cf70ae9691d605e4a1f7e9d8dc59ec72401bd0 (diff) |
Merge pull request #1000 from ammen99/custom-renderer-initialization
[RFC] backends: implement custom EGL and renderer initialization
Diffstat (limited to 'include/backend')
-rw-r--r-- | include/backend/drm/renderer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/backend/drm/renderer.h b/include/backend/drm/renderer.h index 5e15f3d5..510abe43 100644 --- a/include/backend/drm/renderer.h +++ b/include/backend/drm/renderer.h @@ -5,6 +5,7 @@ #include <gbm.h> #include <stdbool.h> #include <stdint.h> +#include <wlr/backend.h> #include <wlr/render/wlr_renderer.h> struct wlr_drm_backend; @@ -32,7 +33,7 @@ struct wlr_drm_surface { }; bool init_drm_renderer(struct wlr_drm_backend *drm, - struct wlr_drm_renderer *renderer); + struct wlr_drm_renderer *renderer, wlr_renderer_create_func_t create_render); void finish_drm_renderer(struct wlr_drm_renderer *renderer); bool init_drm_surface(struct wlr_drm_surface *surf, |