aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/wlr/render/wlr_texture.h8
-rw-r--r--render/wlr_texture.c6
2 files changed, 0 insertions, 14 deletions
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
@@ -52,14 +52,6 @@ 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.
*/
bool wlr_texture_is_opaque(struct wlr_texture *texture);
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;