From 64da8f0c8db9cf9a26c5e56d07d76d03a7d17c17 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Sat, 9 Jan 2021 11:40:15 +0100 Subject: [PATCH] render/egl: document NULL config_attribs passed to wlr_egl_init --- include/wlr/render/egl.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/wlr/render/egl.h b/include/wlr/render/egl.h index bad39866..cbcf37ab 100644 --- a/include/wlr/render/egl.h +++ b/include/wlr/render/egl.h @@ -85,6 +85,8 @@ struct wlr_egl { /** * Initializes an EGL context for the given platform and remote display. * Will attempt to load all possibly required api functions. + * + * If config_attribs is NULL, the EGL config is not created. */ bool wlr_egl_init(struct wlr_egl *egl, EGLenum platform, void *remote_display, const EGLint *config_attribs, EGLint visual_id);