From 1cb6b2cf673a5b580d7ad79ce2b37c14b14b0268 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 25 May 2022 17:48:00 +0200 Subject: [PATCH] render/egl: document wlr_egl_create_with_context --- include/wlr/render/egl.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/wlr/render/egl.h b/include/wlr/render/egl.h index 7374e86d..9bf1b801 100644 --- a/include/wlr/render/egl.h +++ b/include/wlr/render/egl.h @@ -28,6 +28,12 @@ struct wlr_egl; +/** + * Create a struct wlr_egl with an existing EGL display and context. + * + * This is typically used by compositors which want to customize EGL + * initialization. + */ struct wlr_egl *wlr_egl_create_with_context(EGLDisplay display, EGLContext context);