diff options
-rw-r--r-- | include/wlr/render/wlr_renderer.h | 2 | ||||
-rw-r--r-- | render/wlr_renderer.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/wlr/render/wlr_renderer.h b/include/wlr/render/wlr_renderer.h index 513f412a..363a12e4 100644 --- a/include/wlr/render/wlr_renderer.h +++ b/include/wlr/render/wlr_renderer.h @@ -35,7 +35,7 @@ struct wlr_renderer { struct wlr_renderer *wlr_renderer_autocreate(struct wlr_egl *egl, EGLenum platform, void *remote_display, EGLint *config_attribs, EGLint visual_id); -void wlr_renderer_begin(struct wlr_renderer *r, int width, int height); +void wlr_renderer_begin(struct wlr_renderer *r, uint32_t width, uint32_t height); void wlr_renderer_end(struct wlr_renderer *r); void wlr_renderer_clear(struct wlr_renderer *r, const float color[static 4]); /** diff --git a/render/wlr_renderer.c b/render/wlr_renderer.c index 8fa11cc9..bdcc836f 100644 --- a/render/wlr_renderer.c +++ b/render/wlr_renderer.c @@ -37,7 +37,7 @@ void wlr_renderer_destroy(struct wlr_renderer *r) { } } -void wlr_renderer_begin(struct wlr_renderer *r, int width, int height) { +void wlr_renderer_begin(struct wlr_renderer *r, uint32_t width, uint32_t height) { assert(!r->rendering); r->impl->begin(r, width, height); |