aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/render/interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/wlr/render/interface.h')
-rw-r--r--include/wlr/render/interface.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/wlr/render/interface.h b/include/wlr/render/interface.h
index da0aaec9..7f25c0ff 100644
--- a/include/wlr/render/interface.h
+++ b/include/wlr/render/interface.h
@@ -18,7 +18,8 @@ struct wlr_renderer {
};
struct wlr_renderer_impl {
- void (*begin)(struct wlr_renderer *renderer, struct wlr_output *output);
+ void (*begin)(struct wlr_renderer *renderer, uint32_t width,
+ uint32_t height);
void (*end)(struct wlr_renderer *renderer);
void (*clear)(struct wlr_renderer *renderer, const float color[static 4]);
void (*scissor)(struct wlr_renderer *renderer, struct wlr_box *box);