render: drop wlr_renderer_impl.texture_from_pixels

This commit is contained in:
Simon Ser 2021-06-29 20:39:19 +02:00 committed by Simon Zeni
parent 29c8df7e0a
commit 18adb43a44
6 changed files with 2 additions and 44 deletions

View file

@ -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);