From 3f7e0cf5f073ef7ef88128e8661b959cc9140490 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Sat, 9 Jan 2021 12:13:35 +0100 Subject: render/egl: remove surface and buffer age args from make_current These aren't used anymore. --- include/wlr/render/egl.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'include/wlr') diff --git a/include/wlr/render/egl.h b/include/wlr/render/egl.h index b967be8e..845cc388 100644 --- a/include/wlr/render/egl.h +++ b/include/wlr/render/egl.h @@ -45,7 +45,6 @@ struct wlr_egl { struct { // Display extensions bool bind_wayland_display_wl; - bool buffer_age_ext; bool image_base_khr; bool image_dma_buf_export_mesa; bool image_dmabuf_import_ext; @@ -141,14 +140,12 @@ bool wlr_egl_export_image_to_dmabuf(struct wlr_egl *egl, EGLImageKHR image, bool wlr_egl_destroy_image(struct wlr_egl *egl, EGLImageKHR image); /** - * Make the EGL context current. The provided surface will be made current - * unless EGL_NO_SURFACE. + * Make the EGL context current. * * Callers are expected to clear the current context when they are done by * calling wlr_egl_unset_current. */ -bool wlr_egl_make_current(struct wlr_egl *egl, EGLSurface surface, - int *buffer_age); +bool wlr_egl_make_current(struct wlr_egl *egl); bool wlr_egl_unset_current(struct wlr_egl *egl); -- cgit v1.2.3