render/wlr_texture: put wlr_texture_from_buffer into the public API

This commit is contained in:
Simon Zeni 2021-07-12 19:18:50 -04:00 committed by Simon Ser
parent 0778151f94
commit 04d4fb536d
5 changed files with 10 additions and 18 deletions

View file

@ -4,7 +4,6 @@
#include <wlr/render/interface.h>
#include <wlr/render/wlr_texture.h>
#include "types/wlr_buffer.h"
#include "render/wlr_texture.h"
void wlr_texture_init(struct wlr_texture *texture,
const struct wlr_texture_impl *impl, uint32_t width, uint32_t height) {