diff options
author | Simon Ser <contact@emersion.fr> | 2021-05-12 16:08:05 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-05-17 10:03:17 +0200 |
commit | 6369f7093178f0d66414eb67c312a403bfbb84a4 (patch) | |
tree | d8ab41c151262a3077d532e1a4816f5e3c9973f7 /render | |
parent | 9f211b5dd4b2326f71831ea2a9cb42652029e3ec (diff) |
render: remove wlr_texture_get_size
Users can just access the width/height fields directly.
Diffstat (limited to 'render')
-rw-r--r-- | render/wlr_texture.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/render/wlr_texture.c b/render/wlr_texture.c index b382e6f3..db430d82 100644 --- a/render/wlr_texture.c +++ b/render/wlr_texture.c @@ -46,12 +46,6 @@ struct wlr_texture *wlr_texture_from_dmabuf(struct wlr_renderer *renderer, return renderer->impl->texture_from_dmabuf(renderer, attribs); } -void wlr_texture_get_size(struct wlr_texture *texture, int *width, - int *height) { - *width = texture->width; - *height = texture->height; -} - bool wlr_texture_is_opaque(struct wlr_texture *texture) { if (!texture->impl->is_opaque) { return false; |