From 8aa38fe73e0866c389fa973dd1e04a82979f55ac Mon Sep 17 00:00:00 2001 From: Brandon Dowdy Date: Thu, 28 Jan 2021 23:30:36 +0000 Subject: render/egl: remove *config_attribs and wlr_egl->config Breaking changes: Both "EGLint *config_attribs" and "wlr_egl->config" no longer exist. --- include/wlr/render/egl.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'include') 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 -- cgit v1.2.3