diff --git a/include/render/egl.h b/include/render/egl.h index 547254c8..f77e1147 100644 --- a/include/render/egl.h +++ b/include/render/egl.h @@ -101,4 +101,16 @@ void wlr_egl_save_context(struct wlr_egl_context *context); */ bool wlr_egl_restore_context(struct wlr_egl_context *context); +/** + * 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); + +bool wlr_egl_unset_current(struct wlr_egl *egl); + +bool wlr_egl_is_current(struct wlr_egl *egl); + #endif diff --git a/include/wlr/render/egl.h b/include/wlr/render/egl.h index 8cb48e02..7374e86d 100644 --- a/include/wlr/render/egl.h +++ b/include/wlr/render/egl.h @@ -47,16 +47,4 @@ EGLDisplay wlr_egl_get_display(struct wlr_egl *egl); */ EGLContext wlr_egl_get_context(struct wlr_egl *egl); -/** - * 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); - -bool wlr_egl_unset_current(struct wlr_egl *egl); - -bool wlr_egl_is_current(struct wlr_egl *egl); - #endif