aboutsummaryrefslogtreecommitdiff
path: root/backend/drm
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-01-09 12:13:35 +0100
committerSimon Ser <contact@emersion.fr>2021-01-12 11:31:04 +0100
commit3f7e0cf5f073ef7ef88128e8661b959cc9140490 (patch)
tree6f858fae4878056ada680d36a8f18a3b6a99ff0d /backend/drm
parent1d461687d24856a15fd8c37f744f40730888c9b0 (diff)
render/egl: remove surface and buffer age args from make_current
These aren't used anymore.
Diffstat (limited to 'backend/drm')
-rw-r--r--backend/drm/renderer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/drm/renderer.c b/backend/drm/renderer.c
index 2997687f..f2d7677c 100644
--- a/backend/drm/renderer.c
+++ b/backend/drm/renderer.c
@@ -116,7 +116,7 @@ bool drm_surface_make_current(struct wlr_drm_surface *surf,
}
struct wlr_egl *egl = wlr_gles2_renderer_get_egl(surf->renderer->wlr_rend);
- if (!wlr_egl_make_current(egl, EGL_NO_SURFACE, NULL)) {
+ if (!wlr_egl_make_current(egl)) {
return false;
}
if (!wlr_renderer_bind_buffer(surf->renderer->wlr_rend, surf->back_buffer)) {