mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-22 18:09:49 +01:00
Use uint32_t in wlr_renderer_begin signature
This matches the signature of wlr_renderer_impl.begin
This commit is contained in:
parent
7693f61d81
commit
0724b3c453
2 changed files with 2 additions and 2 deletions
|
@ -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]);
|
||||
/**
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue