render/egl: make config attribs const

wlr_egl_init is not allowed to mutate these attribs.
This commit is contained in:
Simon Ser 2020-04-06 11:15:38 +02:00 committed by Scott Anderson
parent 507d9bc19e
commit 6787ff521b
2 changed files with 4 additions and 4 deletions

View file

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