From 823476e76ed166762095330a8f51eabc825febff Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Mon, 20 Dec 2021 20:41:44 +0000 Subject: wlr_texture: remove wlr_texture_from_wl_drm() from header This function was already removed in e5b5592a but it was forgotten to remove it from the header. --- include/wlr/render/wlr_texture.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'include/wlr/render') diff --git a/include/wlr/render/wlr_texture.h b/include/wlr/render/wlr_texture.h index 3495c443..1dbcba1d 100644 --- a/include/wlr/render/wlr_texture.h +++ b/include/wlr/render/wlr_texture.h @@ -33,16 +33,6 @@ struct wlr_texture *wlr_texture_from_pixels(struct wlr_renderer *renderer, uint32_t fmt, uint32_t stride, uint32_t width, uint32_t height, const void *data); -/** - * Create a new texture from a wl_drm resource. The returned texture is - * immutable. - * - * Should not be called in a rendering block like renderer_begin()/end() or - * between attaching a renderer to an output and committing it. - */ -struct wlr_texture *wlr_texture_from_wl_drm(struct wlr_renderer *renderer, - struct wl_resource *data); - /** * Create a new texture from a DMA-BUF. The returned texture is immutable. * -- cgit v1.2.3