From 6369f7093178f0d66414eb67c312a403bfbb84a4 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 12 May 2021 16:08:05 +0200 Subject: render: remove wlr_texture_get_size Users can just access the width/height fields directly. --- include/wlr/render/wlr_texture.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'include/wlr') diff --git a/include/wlr/render/wlr_texture.h b/include/wlr/render/wlr_texture.h index 1dba2b9e..aa905238 100644 --- a/include/wlr/render/wlr_texture.h +++ b/include/wlr/render/wlr_texture.h @@ -51,14 +51,6 @@ struct wlr_texture *wlr_texture_from_wl_drm(struct wlr_renderer *renderer, struct wlr_texture *wlr_texture_from_dmabuf(struct wlr_renderer *renderer, struct wlr_dmabuf_attributes *attribs); -/** - * Get the texture width and height. - * - * This function is deprecated. Access wlr_texture's width and height fields - * directly instead. - */ -void wlr_texture_get_size(struct wlr_texture *texture, int *width, int *height); - /** * Returns true if this texture is using a fully opaque format. */ -- cgit v1.2.3