mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-16 08:56:26 -05:00
wlr renderer/texture: rename init to create when it does alloc
This commit is contained in:
parent
12782eabfe
commit
f24b3df980
15 changed files with 24 additions and 24 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue