|
|
|
@ -174,7 +174,8 @@ static struct wlr_gles2_texture *gles2_texture_create(
|
|
|
|
|
wlr_log_errno(WLR_ERROR, "Allocation failed");
|
|
|
|
|
return NULL;
|
|
|
|
|
}
|
|
|
|
|
wlr_texture_init(&texture->wlr_texture, &texture_impl, width, height);
|
|
|
|
|
wlr_texture_init(&texture->wlr_texture, &renderer->wlr_renderer,
|
|
|
|
|
&texture_impl, width, height);
|
|
|
|
|
texture->renderer = renderer;
|
|
|
|
|
wl_list_insert(&renderer->textures, &texture->link);
|
|
|
|
|
return texture;
|
|
|
|
|