diff options
author | emersion <contact@emersion.fr> | 2017-12-17 23:51:04 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2017-12-17 23:51:04 +0100 |
commit | b99d1f4fcca0f8d7b1d2042f51fdefcc73304e6f (patch) | |
tree | fab66d90e45cff436d123eab2f4475ed4f5bb7bc /include | |
parent | bc5bdb7793d7737a42489ddb07b2fbb7f74a47f5 (diff) |
Refactor wlr_egl_init to accept config_attribs
Diffstat (limited to 'include')
-rw-r--r-- | include/wlr/render/egl.h | 3 |
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 |