diff options
-rw-r--r-- | backend/drm/renderer.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) { |