Change egl_get_config to always use visual id

This commit is contained in:
Scott Anderson 2017-09-26 14:57:23 +13:00
parent 7ad2a57feb
commit 517ba0bc16
4 changed files with 12 additions and 19 deletions

View file

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