From 517ba0bc168d9968891e8ec0ca595e26ced535bf Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Tue, 26 Sep 2017 14:57:23 +1300 Subject: Change egl_get_config to always use visual id --- include/wlr/egl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/wlr/egl.h b/include/wlr/egl.h index b37317a5..25329175 100644 --- a/include/wlr/egl.h +++ b/include/wlr/egl.h @@ -30,7 +30,7 @@ struct wlr_egl { * Initializes an egl context for the given platform and remote display. * Will attempt to load all possibly required api functions. */ -bool wlr_egl_init(struct wlr_egl *egl, EGLenum platform, void *display); +bool wlr_egl_init(struct wlr_egl *egl, EGLenum platform, EGLint visual_id, void *display); /** * Frees all related egl resources, makes the context not-current and -- cgit v1.2.3