diff options
Diffstat (limited to 'render/wlr_texture.c')
-rw-r--r-- | render/wlr_texture.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/render/wlr_texture.c b/render/wlr_texture.c index b0b22565..e9a3e3b4 100644 --- a/render/wlr_texture.c +++ b/render/wlr_texture.c @@ -20,9 +20,9 @@ void wlr_texture_destroy(struct wlr_texture *texture) { } struct wlr_texture *wlr_texture_from_pixels(struct wlr_renderer *renderer, - enum wl_shm_format wl_fmt, uint32_t stride, uint32_t width, - uint32_t height, const void *data) { - return renderer->impl->texture_from_pixels(renderer, wl_fmt, stride, width, + uint32_t fmt, uint32_t stride, uint32_t width, uint32_t height, + const void *data) { + return renderer->impl->texture_from_pixels(renderer, fmt, stride, width, height, data); } |