Merge pull request #53 from nyorain/drm_buffer

Implement drm (egl) buffer attaching
This commit is contained in:
Drew DeVault 2017-08-10 22:20:21 -04:00 committed by GitHub
commit 6569c2b626
33 changed files with 427 additions and 74 deletions

View file

@ -579,7 +579,7 @@ static bool wlr_drm_output_set_cursor(struct wlr_output_state *output,
wlr_matrix_texture(plane->matrix, plane->width, plane->height,
output->base->transform ^ WL_OUTPUT_TRANSFORM_FLIPPED_180);
plane->wlr_rend = wlr_gles2_renderer_init();
plane->wlr_rend = wlr_gles2_renderer_init(drm->base);
if (!plane->wlr_rend) {
return false;
}