diff options
author | Dominique Martinet <asmadeus@codewreck.org> | 2017-08-19 08:10:39 +0200 |
---|---|---|
committer | Dominique Martinet <asmadeus@codewreck.org> | 2017-08-19 08:33:31 +0200 |
commit | f24b3df980979d761bd59773f39d6d5f90d17913 (patch) | |
tree | b54e0df3d2cf367bbb5d1e7ffe8556fcf7aa96ea /backend/drm | |
parent | 12782eabfe2bf688b15d612a0357e75f13c9ade7 (diff) |
wlr renderer/texture: rename init to create when it does alloc
Diffstat (limited to 'backend/drm')
-rw-r--r-- | backend/drm/drm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/drm/drm.c b/backend/drm/drm.c index 65ea7f45..332926b9 100644 --- a/backend/drm/drm.c +++ b/backend/drm/drm.c @@ -598,12 +598,12 @@ static bool wlr_drm_output_set_cursor(struct wlr_output *_output, wlr_matrix_texture(plane->matrix, plane->width, plane->height, output->output.transform ^ WL_OUTPUT_TRANSFORM_FLIPPED_180); - plane->wlr_rend = wlr_gles2_renderer_init(&backend->backend); + plane->wlr_rend = wlr_gles2_renderer_create(&backend->backend); if (!plane->wlr_rend) { return false; } - plane->wlr_tex = wlr_render_texture_init(plane->wlr_rend); + plane->wlr_tex = wlr_render_texture_create(plane->wlr_rend); if (!plane->wlr_tex) { return false; } |