aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorScott Anderson <ascent12@hotmail.com>2017-09-26 14:57:23 +1300
committerScott Anderson <ascent12@hotmail.com>2017-09-29 16:15:09 +1300
commit517ba0bc168d9968891e8ec0ca595e26ced535bf (patch)
tree7776046ed45f7c5d695f27f75d4fc8ce341c3844 /include
parent7ad2a57feb4c7e4b191edfbaa68ff3a2fd703f9f (diff)
Change egl_get_config to always use visual id
Diffstat (limited to 'include')
-rw-r--r--include/wlr/egl.h2
1 files changed, 1 insertions, 1 deletions
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