aboutsummaryrefslogtreecommitdiff
path: root/render/gles2/texture.c
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-06-29 20:39:19 +0200
committerSimon Zeni <simon@bl4ckb0ne.ca>2021-07-01 14:57:52 -0400
commit18adb43a44cbb31eeeb3d6845690d2cb5c9dc61b (patch)
tree07248e9c940b145f7c26c6da755cd27ce0dcd6cf /render/gles2/texture.c
parent29c8df7e0a3e6ac1720cd843ba6f523de6b71c0a (diff)
render: drop wlr_renderer_impl.texture_from_pixels
Diffstat (limited to 'render/gles2/texture.c')
-rw-r--r--render/gles2/texture.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/render/gles2/texture.c b/render/gles2/texture.c
index 303ac411..87710a18 100644
--- a/render/gles2/texture.c
+++ b/render/gles2/texture.c
@@ -179,7 +179,8 @@ static struct wlr_gles2_texture *gles2_texture_create(
return texture;
}
-struct wlr_texture *gles2_texture_from_pixels(struct wlr_renderer *wlr_renderer,
+static struct wlr_texture *gles2_texture_from_pixels(
+ struct wlr_renderer *wlr_renderer,
uint32_t drm_format, uint32_t stride, uint32_t width,
uint32_t height, const void *data) {
struct wlr_gles2_renderer *renderer = gles2_get_renderer(wlr_renderer);