aboutsummaryrefslogtreecommitdiff
path: root/render/gles2
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 /render/gles2
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 'render/gles2')
-rw-r--r--render/gles2/renderer.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/render/gles2/renderer.c b/render/gles2/renderer.c
index 59d46a91..f385762d 100644
--- a/render/gles2/renderer.c
+++ b/render/gles2/renderer.c
@@ -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 =