aboutsummaryrefslogtreecommitdiff
path: root/render/wlr_surface.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/wlr_surface.c')
-rw-r--r--render/wlr_surface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/render/wlr_surface.c b/render/wlr_surface.c
index 46a12205..4e4f4101 100644
--- a/render/wlr_surface.c
+++ b/render/wlr_surface.c
@@ -20,9 +20,9 @@ void wlr_surface_bind(struct wlr_surface *surface) {
}
bool wlr_surface_attach_pixels(struct wlr_surface *surface, uint32_t format,
- int width, int height, const unsigned char *pixels) {
+ int stride, int width, int height, const unsigned char *pixels) {
return surface->impl->attach_pixels(surface->state,
- format, width, height, pixels);
+ format, stride, width, height, pixels);
}
bool wlr_surface_attach_shm(struct wlr_surface *surface, uint32_t format,