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 /include/wlr/render | |
parent | 1d461687d24856a15fd8c37f744f40730888c9b0 (diff) |
render/egl: remove surface and buffer age args from make_current
These aren't used anymore.
Diffstat (limited to 'include/wlr/render')
-rw-r--r-- | include/wlr/render/egl.h | 7 |
1 files changed, 2 insertions, 5 deletions
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); |