aboutsummaryrefslogtreecommitdiff
path: root/render/wlr_renderer.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-03-20 23:10:42 +0100
committeremersion <contact@emersion.fr>2018-03-21 07:37:09 +0100
commit3581573bdcbe3c905eae83af53cccbcdd52edad2 (patch)
tree41290d6330facfe127b0a9ab4107bff364dc1967 /render/wlr_renderer.c
parent95e86e675a7eef326958ab9047ff4ca0d0182cfc (diff)
render/gles2: make wlr_renderer_begin take viewport size
This allows raw GL calls outside wlr_renderer to be removed.
Diffstat (limited to 'render/wlr_renderer.c')
-rw-r--r--render/wlr_renderer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/render/wlr_renderer.c b/render/wlr_renderer.c
index 79e0b5d5..622aa1dd 100644
--- a/render/wlr_renderer.c
+++ b/render/wlr_renderer.c
@@ -17,8 +17,8 @@ void wlr_renderer_destroy(struct wlr_renderer *r) {
}
}
-void wlr_renderer_begin(struct wlr_renderer *r, struct wlr_output *o) {
- r->impl->begin(r, o);
+void wlr_renderer_begin(struct wlr_renderer *r, int width, int height) {
+ r->impl->begin(r, width, height);
}
void wlr_renderer_end(struct wlr_renderer *r) {