diff options
author | Simon Ser <contact@emersion.fr> | 2021-01-09 12:13:35 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-01-12 11:31:04 +0100 |
commit | 3f7e0cf5f073ef7ef88128e8661b959cc9140490 (patch) | |
tree | 6f858fae4878056ada680d36a8f18a3b6a99ff0d /backend | |
parent | 1d461687d24856a15fd8c37f744f40730888c9b0 (diff) |
render/egl: remove surface and buffer age args from make_current
These aren't used anymore.
Diffstat (limited to 'backend')
-rw-r--r-- | backend/drm/renderer.c | 2 | ||||
-rw-r--r-- | backend/headless/output.c | 2 | ||||
-rw-r--r-- | backend/wayland/output.c | 4 | ||||
-rw-r--r-- | backend/x11/output.c | 2 |
4 files changed, 5 insertions, 5 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)) { diff --git a/backend/headless/output.c b/backend/headless/output.c index ee1fd317..0ffdee79 100644 --- a/backend/headless/output.c +++ b/backend/headless/output.c @@ -52,7 +52,7 @@ static bool output_attach_render(struct wlr_output *wlr_output, return false; } - if (!wlr_egl_make_current(egl, EGL_NO_SURFACE, NULL)) { + if (!wlr_egl_make_current(egl)) { return false; } if (!wlr_renderer_bind_buffer(output->backend->renderer, diff --git a/backend/wayland/output.c b/backend/wayland/output.c index bf2d97ca..3abf2b5e 100644 --- a/backend/wayland/output.c +++ b/backend/wayland/output.c @@ -125,7 +125,7 @@ static bool output_attach_render(struct wlr_output *wlr_output, return false; } - if (!wlr_egl_make_current(egl, EGL_NO_SURFACE, NULL)) { + if (!wlr_egl_make_current(egl)) { return false; } if (!wlr_renderer_bind_buffer(output->backend->renderer, @@ -433,7 +433,7 @@ static bool output_set_cursor(struct wlr_output *wlr_output, return false; } - if (!wlr_egl_make_current(egl, EGL_NO_SURFACE, NULL)) { + if (!wlr_egl_make_current(egl)) { return false; } if (!wlr_renderer_bind_buffer(output->backend->renderer, wlr_buffer)) { diff --git a/backend/x11/output.c b/backend/x11/output.c index 4d764414..11dda67d 100644 --- a/backend/x11/output.c +++ b/backend/x11/output.c @@ -106,7 +106,7 @@ static bool output_attach_render(struct wlr_output *wlr_output, return false; } - if (!wlr_egl_make_current(egl, EGL_NO_SURFACE, NULL)) { + if (!wlr_egl_make_current(egl)) { return false; } if (!wlr_renderer_bind_buffer(x11->renderer, output->back_buffer)) { |