mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-16 06:59:44 -05:00
render/egl: make config attribs const
wlr_egl_init is not allowed to mutate these attribs.
This commit is contained in:
parent
507d9bc19e
commit
6787ff521b
2 changed files with 4 additions and 4 deletions
|
|
@ -69,7 +69,7 @@ struct wlr_egl {
|
|||
* Will attempt to load all possibly required api functions.
|
||||
*/
|
||||
bool wlr_egl_init(struct wlr_egl *egl, EGLenum platform, void *remote_display,
|
||||
EGLint *config_attribs, EGLint visual_id);
|
||||
const EGLint *config_attribs, EGLint visual_id);
|
||||
|
||||
/**
|
||||
* Frees all related EGL resources, makes the context not-current and
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue