aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorScott Anderson <ascent12@hotmail.com>2017-10-01 22:44:24 +1300
committerScott Anderson <ascent12@hotmail.com>2017-10-01 22:44:24 +1300
commitf6f9c4096544fa64b7814ac55718f1c128c15004 (patch)
tree1cc299d2a3feb00424747c8bfd231ff5bf48a627 /include
parent009c3747a8771bcd441dc9cf95823fe40895f1e0 (diff)
Minor fixes
Diffstat (limited to 'include')
-rw-r--r--include/backend/drm/renderer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/backend/drm/renderer.h b/include/backend/drm/renderer.h
index 8fcf566d..45127cd0 100644
--- a/include/backend/drm/renderer.h
+++ b/include/backend/drm/renderer.h
@@ -9,6 +9,7 @@
#include <wlr/render.h>
+struct wlr_drm_backend;
struct wlr_drm_plane;
struct wlr_drm_renderer {
@@ -32,7 +33,8 @@ struct wlr_drm_surface {
struct gbm_bo *back;
};
-bool wlr_drm_renderer_init(struct wlr_drm_renderer *renderer, int fd);
+bool wlr_drm_renderer_init(struct wlr_drm_backend *drm,
+ struct wlr_drm_renderer *renderer);
void wlr_drm_renderer_finish(struct wlr_drm_renderer *renderer);
bool wlr_drm_surface_init(struct wlr_drm_surface *surf,