From cccca368c595946235cdfb80a9d796ef5cb750fa Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 7 Jul 2020 17:36:51 +0200 Subject: backend/drm: fix typo in drm_surface_make_current arg --- backend/drm/renderer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'backend/drm') diff --git a/backend/drm/renderer.c b/backend/drm/renderer.c index 2f9769f5..4b6e9bf1 100644 --- a/backend/drm/renderer.c +++ b/backend/drm/renderer.c @@ -126,8 +126,8 @@ static void finish_drm_surface(struct wlr_drm_surface *surf) { } bool drm_surface_make_current(struct wlr_drm_surface *surf, - int *buffer_damage) { - return wlr_egl_make_current(&surf->renderer->egl, surf->egl, buffer_damage); + int *buffer_age) { + return wlr_egl_make_current(&surf->renderer->egl, surf->egl, buffer_age); } bool export_drm_bo(struct gbm_bo *bo, struct wlr_dmabuf_attributes *attribs) { -- cgit v1.2.3