From 0724b3c453e45b59aecdaecd6b654e1febb68dc7 Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Sun, 11 Oct 2020 16:06:26 +0200 Subject: Use uint32_t in wlr_renderer_begin signature This matches the signature of wlr_renderer_impl.begin --- include/wlr/render/wlr_renderer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/wlr/render') 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]); /** -- cgit v1.2.3