Use uint32_t in wlr_renderer_begin signature

This matches the signature of wlr_renderer_impl.begin
This commit is contained in:
Isaac Freund 2020-10-11 16:06:26 +02:00 committed by Simon Ser
parent 7693f61d81
commit 0724b3c453
2 changed files with 2 additions and 2 deletions

View File

@ -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]);
/**

View File

@ -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);