diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-08-19 08:45:44 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-19 08:45:44 -0400 |
commit | b876bea288bc4827a9de157eed481b823c081a4b (patch) | |
tree | 94fb650815691f98ab633c7731496f14ac751dc2 /backend/drm/drm.c | |
parent | 3674085faede2960581461cf8f40c33ffce85e7c (diff) | |
parent | 84c0c87a5ddca24cb039f33eea38252681bb4636 (diff) |
Merge pull request #114 from martinetd/cleanups
Cleanups
Diffstat (limited to 'backend/drm/drm.c')
-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; } |