diff options
author | Simon Ser <contact@emersion.fr> | 2021-01-09 11:40:15 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-01-09 12:02:39 +0100 |
commit | 64da8f0c8db9cf9a26c5e56d07d76d03a7d17c17 (patch) | |
tree | 7435852e3b7068208fb8ccad0f35b5b7d2eac2ca | |
parent | 41aa80d4a113dd96a177ae2c6e93ac658c34623f (diff) |
render/egl: document NULL config_attribs passed to wlr_egl_init
-rw-r--r-- | include/wlr/render/egl.h | 2 |
1 files changed, 2 insertions, 0 deletions
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); |