aboutsummaryrefslogtreecommitdiff
path: root/include/render/wlr_texture.h
diff options
context:
space:
mode:
authorSimon Zeni <simon@bl4ckb0ne.ca>2021-07-12 19:18:50 -0400
committerSimon Ser <contact@emersion.fr>2021-07-22 22:28:24 +0200
commit04d4fb536d2112caf38ad9903a7ce8616a21ba33 (patch)
tree39faa79dfdeecd18034ba84aea7d113b94bb65d3 /include/render/wlr_texture.h
parent0778151f94c6c75678491d5d29af041cef628fca (diff)
render/wlr_texture: put wlr_texture_from_buffer into the public API
Diffstat (limited to 'include/render/wlr_texture.h')
-rw-r--r--include/render/wlr_texture.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/include/render/wlr_texture.h b/include/render/wlr_texture.h
deleted file mode 100644
index eb94824f..00000000
--- a/include/render/wlr_texture.h
+++ /dev/null
@@ -1,15 +0,0 @@
-#ifndef RENDER_WLR_TEXTURE_H
-#define RENDER_WLR_TEXTURE_H
-
-#include <wlr/render/wlr_texture.h>
-
-/**
- * Create a new texture from a buffer.
- *
- * 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_buffer(struct wlr_renderer *renderer,
- struct wlr_buffer *buffer);
-
-#endif