backend/drm: fix typo in drm_surface_make_current arg

This commit is contained in:
Simon Ser 2020-07-07 17:36:51 +02:00
parent 92c85858a9
commit cccca368c5
No known key found for this signature in database
GPG Key ID: 0FDE7BE0E88F5E48

View File

@ -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) {