aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIsaac Freund <ifreund@ifreund.xyz>2020-10-11 16:06:26 +0200
committerSimon Ser <contact@emersion.fr>2020-11-11 11:01:46 +0100
commit0724b3c453e45b59aecdaecd6b654e1febb68dc7 (patch)
treec6f824a89536064d7ee0b17d35e2da332679bdfb /include
parent7693f61d813869f7f8b3c658f610a16f6283b24f (diff)
Use uint32_t in wlr_renderer_begin signature
This matches the signature of wlr_renderer_impl.begin
Diffstat (limited to 'include')
-rw-r--r--include/wlr/render/wlr_renderer.h2
1 files changed, 1 insertions, 1 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]);
/**