From 9edfb5c710b0711bcd24c3cc1d7d136f74112d77 Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Wed, 26 Jun 2013 08:18:53 -0500 Subject: [PATCH] [Android] Disable OpenGL ES 3 EGL bit. This is due to drivers complaining(Which they should do) when they don't support GLES3. Qualcomm drivers don't care about it being ES2 or ES3 bit anyway. Intel drivers are untested in this code path, but GLES3 is untested entirely in desktop anyway. --- Source/Core/DolphinWX/Src/GLInterface/EGL.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Source/Core/DolphinWX/Src/GLInterface/EGL.cpp b/Source/Core/DolphinWX/Src/GLInterface/EGL.cpp index 6c12c1156c..b5560d1ed7 100644 --- a/Source/Core/DolphinWX/Src/GLInterface/EGL.cpp +++ b/Source/Core/DolphinWX/Src/GLInterface/EGL.cpp @@ -53,7 +53,12 @@ bool cInterfaceEGL::Create(void *&window_handle) EGL_DEPTH_SIZE, 24, #ifdef USE_GLES #ifdef USE_GLES3 - EGL_RENDERABLE_TYPE, (1 << 6) /* EGL_OPENGL_ES3_BIT */, + EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT, + + // OpenGL ES 3 bit is disabled for now, until we have a way to select it from runtime + // Qualcomm drivers don't even care if it is ES2 or ES3 bit set. + // Intel drivers /might/ not care, but that code path is untested + // EGL_RENDERABLE_TYPE, (1 << 6) /* EGL_OPENGL_ES3_BIT */, #else EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT, #endif