wlr renderer/texture: rename init to create when it does alloc

This commit is contained in:
Dominique Martinet 2017-08-19 08:10:39 +02:00
parent 12782eabfe
commit f24b3df980
15 changed files with 24 additions and 24 deletions

View file

@ -276,7 +276,7 @@ static struct wlr_texture_impl wlr_texture_impl = {
.destroy = gles2_texture_destroy,
};
struct wlr_texture *gles2_texture_init(struct wlr_egl *egl) {
struct wlr_texture *gles2_texture_create(struct wlr_egl *egl) {
struct wlr_gles2_texture *texture;
if (!(texture = calloc(1, sizeof(struct wlr_gles2_texture)))) {
return NULL;