aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-12-17 23:51:04 +0100
committeremersion <contact@emersion.fr>2017-12-17 23:51:04 +0100
commitb99d1f4fcca0f8d7b1d2042f51fdefcc73304e6f (patch)
treefab66d90e45cff436d123eab2f4475ed4f5bb7bc /include
parentbc5bdb7793d7737a42489ddb07b2fbb7f74a47f5 (diff)
Refactor wlr_egl_init to accept config_attribs
Diffstat (limited to 'include')
-rw-r--r--include/wlr/render/egl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/wlr/render/egl.h b/include/wlr/render/egl.h
index 67a81f37..bdb8d286 100644
--- a/include/wlr/render/egl.h
+++ b/include/wlr/render/egl.h
@@ -22,7 +22,8 @@ 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, EGLint visual_id, void *display);
+bool wlr_egl_init(struct wlr_egl *egl, EGLenum platform, void *remote_display,
+ EGLint *config_attribs, EGLint visual_id);
/**
* Frees all related egl resources, makes the context not-current and