aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-04-06 11:15:38 +0200
committerScott Anderson <scott@anderso.nz>2020-04-09 00:15:25 +0000
commit6787ff521bc55456947180f429e4a9eca70754c6 (patch)
treea621667cfeeaee2ce23c79ec210b74ffba1435b9 /include
parent507d9bc19e05d3fd4378063ad87f4a74b3dfcfca (diff)
render/egl: make config attribs const
wlr_egl_init is not allowed to mutate these attribs.
Diffstat (limited to 'include')
-rw-r--r--include/wlr/render/egl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/wlr/render/egl.h b/include/wlr/render/egl.h
index d0dcaf5b..50432887 100644
--- a/include/wlr/render/egl.h
+++ b/include/wlr/render/egl.h
@@ -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