aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/render
diff options
context:
space:
mode:
authorBrandon Dowdy <berylline@users.noreply.github.com>2021-01-28 23:30:36 +0000
committerSimon Ser <contact@emersion.fr>2021-01-29 10:03:24 +0100
commit8aa38fe73e0866c389fa973dd1e04a82979f55ac (patch)
treef855963cd6ae881b1f7ba2d02982548f39fcf73d /include/wlr/render
parent705b3da7cb469c661a3dd43212b1baf6fe615ec9 (diff)
render/egl: remove *config_attribs and wlr_egl->config
Breaking changes: Both "EGLint *config_attribs" and "wlr_egl->config" no longer exist.
Diffstat (limited to 'include/wlr/render')
-rw-r--r--include/wlr/render/egl.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/wlr/render/egl.h b/include/wlr/render/egl.h
index ae155579..9a5bc76b 100644
--- a/include/wlr/render/egl.h
+++ b/include/wlr/render/egl.h
@@ -38,7 +38,6 @@ struct wlr_egl_context {
struct wlr_egl {
EGLDisplay display;
- EGLConfig config; // may be EGL_NO_CONFIG
EGLContext context;
EGLDeviceEXT device; // may be EGL_NO_DEVICE_EXT
struct gbm_device *gbm_device;
@@ -80,11 +79,8 @@ struct wlr_egl {
/**
* Initializes an EGL context for the given platform and remote display.
* Will attempt to load all possibly required api functions.
- *
- * If config_attribs is NULL, the EGL config is not created.
*/
-struct wlr_egl *wlr_egl_create(EGLenum platform, void *remote_display,
- const EGLint *config_attribs);
+struct wlr_egl *wlr_egl_create(EGLenum platform, void *remote_display);
/**
* Frees all related EGL resources, makes the context not-current and