render/egl: remove *config_attribs and wlr_egl->config

Breaking changes:

Both "EGLint *config_attribs" and "wlr_egl->config" no longer exist.
This commit is contained in:
Brandon Dowdy 2021-01-28 23:30:36 +00:00 committed by Simon Ser
parent 705b3da7cb
commit 8aa38fe73e
4 changed files with 9 additions and 32 deletions

View file

@ -466,9 +466,6 @@ static enum wl_shm_format gles2_preferred_read_format(
glGetRenderbufferParameteriv(GL_RENDERBUFFER,
GL_RENDERBUFFER_ALPHA_SIZE, &alpha_size);
glBindRenderbuffer(GL_RENDERBUFFER, 0);
} else if (renderer->egl->config != EGL_NO_CONFIG_KHR) {
eglGetConfigAttrib(renderer->egl->display, renderer->egl->config,
EGL_ALPHA_SIZE, &alpha_size);
}
const struct wlr_gles2_pixel_format *fmt =