backend/drm: add missing wlr_egl_unset_current

This commit is contained in:
Simon Ser 2020-05-19 17:43:34 +02:00 committed by Drew DeVault
parent cfed5766b7
commit d28a7da95d
2 changed files with 8 additions and 2 deletions

View file

@ -967,6 +967,8 @@ static bool drm_connector_set_cursor(struct wlr_output *output,
return false;
}
wlr_egl_unset_current(&plane->surf.renderer->egl);
plane->cursor_enabled = true;
}