[Mesa-dev] [PATCH 4/4] egl/android: remove config post-processing
Emil Velikov
emil.l.velikov at gmail.com
Thu Aug 25 16:07:15 UTC 2016
From: Emil Velikov <emil.velikov at collabora.com>
No longer needed as of last commit, since we no longer add OPENGL to the
ClientAPIs thus, RenderType and Conformant don't have the desktop GL
bit set.
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
src/egl/drivers/dri2/platform_android.c | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/src/egl/drivers/dri2/platform_android.c b/src/egl/drivers/dri2/platform_android.c
index 512a1b8..ee3c072 100644
--- a/src/egl/drivers/dri2/platform_android.c
+++ b/src/egl/drivers/dri2/platform_android.c
@@ -806,15 +806,6 @@ droid_add_configs_for_visuals(_EGLDriver *drv, _EGLDisplay *dpy)
}
}
- /* post-process configs */
- for (i = 0; i < dpy->Configs->Size; i++) {
- struct dri2_egl_config *dri2_conf = dri2_egl_config(dpy->Configs->Elements[i]);
-
- /* there is no front buffer so no OpenGL */
- dri2_conf->base.RenderableType &= ~EGL_OPENGL_BIT;
- dri2_conf->base.Conformant &= ~EGL_OPENGL_BIT;
- }
-
return (count != 0);
}
--
2.9.0
More information about the mesa-dev
mailing list