mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
render/egl: document NULL config_attribs passed to wlr_egl_init
This commit is contained in:
parent
41aa80d4a1
commit
64da8f0c8d
1 changed files with 2 additions and 0 deletions
|
|
@ -85,6 +85,8 @@ struct wlr_egl {
|
||||||
/**
|
/**
|
||||||
* Initializes an EGL context for the given platform and remote display.
|
* Initializes an EGL context for the given platform and remote display.
|
||||||
* Will attempt to load all possibly required api functions.
|
* 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,
|
bool wlr_egl_init(struct wlr_egl *egl, EGLenum platform, void *remote_display,
|
||||||
const EGLint *config_attribs, EGLint visual_id);
|
const EGLint *config_attribs, EGLint visual_id);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue