aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-07-07 17:36:51 +0200
committerSimon Ser <contact@emersion.fr>2020-07-07 17:36:51 +0200
commitcccca368c595946235cdfb80a9d796ef5cb750fa (patch)
tree51ee61608386b79a57492bd6fa32153824512c69 /backend
parent92c85858a9dfc11b83f374f53a7e70b6e08899cd (diff)
backend/drm: fix typo in drm_surface_make_current arg
Diffstat (limited to 'backend')
-rw-r--r--backend/drm/renderer.c4
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) {