render/egl: document NULL config_attribs passed to wlr_egl_init

This commit is contained in:
Simon Ser 2021-01-09 11:40:15 +01:00
parent 41aa80d4a1
commit 64da8f0c8d
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48

View file

@ -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);