Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[Android] Disable OpenGL ES 3 EGL bit. This is due to drivers complai…
…ning(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.
  • Loading branch information
Sonicadvance1 committed Jun 26, 2013
1 parent 99d32e7 commit 9edfb5c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Source/Core/DolphinWX/Src/GLInterface/EGL.cpp
Expand Up @@ -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
Expand Down

0 comments on commit 9edfb5c

Please sign in to comment.