diff options
Diffstat (limited to 'render/wlr_texture.c')
-rw-r--r-- | render/wlr_texture.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/render/wlr_texture.c b/render/wlr_texture.c index e9a3e3b4..0fd79908 100644 --- a/render/wlr_texture.c +++ b/render/wlr_texture.c @@ -65,11 +65,3 @@ bool wlr_texture_write_pixels(struct wlr_texture *texture, return texture->impl->write_pixels(texture, stride, width, height, src_x, src_y, dst_x, dst_y, data); } - -bool wlr_texture_to_dmabuf(struct wlr_texture *texture, - struct wlr_dmabuf_attributes *attribs) { - if (!texture->impl->to_dmabuf) { - return false; - } - return texture->impl->to_dmabuf(texture, attribs); -} |