summaryrefslogtreecommitdiffstats
path: root/src/egl/drivers/dri2/platform_android.c
diff options
context:
space:
mode:
authorEmil Velikov <emil.velikov@collabora.com>2016-08-25 12:21:31 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2016-08-30 14:50:28 +0100
commit4f5f9575d079376544a2ff70fb19f1dca417a931 (patch)
tree8e7ebf9b9ab91431bf78177a22ac74d936358066 /src/egl/drivers/dri2/platform_android.c
parent03eaa6c5969d3eb87112d96a0e33b4eb46bf9f5a (diff)
downloadexternal_mesa3d-4f5f9575d079376544a2ff70fb19f1dca417a931.zip
external_mesa3d-4f5f9575d079376544a2ff70fb19f1dca417a931.tar.gz
external_mesa3d-4f5f9575d079376544a2ff70fb19f1dca417a931.tar.bz2
egl/android: remove config post-processing
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@collabora.com> Reviewed-by: Tomasz Figa <tfiga@chromium.org>
Diffstat (limited to 'src/egl/drivers/dri2/platform_android.c')
-rw-r--r--src/egl/drivers/dri2/platform_android.c9
1 files changed, 0 insertions, 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);
}