aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/wlr/render/egl.h6
1 files changed, 6 insertions, 0 deletions
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);