diff options
author | Simon Ser <contact@emersion.fr> | 2020-07-07 17:36:51 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-07-07 17:36:51 +0200 |
commit | cccca368c595946235cdfb80a9d796ef5cb750fa (patch) | |
tree | 51ee61608386b79a57492bd6fa32153824512c69 | |
parent | 92c85858a9dfc11b83f374f53a7e70b6e08899cd (diff) |
backend/drm: fix typo in drm_surface_make_current arg
-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) { |