[Android] Add in a compiling option for GLES3

This commit is contained in:
Ryan Houdek
2013-05-05 22:47:15 -05:00
parent b2d3dc8a68
commit 09def3ed3f
5 changed files with 22 additions and 9 deletions

View File

@ -52,7 +52,11 @@ bool cInterfaceEGL::Create(void *&window_handle)
EGL_BLUE_SIZE, 8,
EGL_DEPTH_SIZE, 24,
#ifdef USE_GLES
#ifdef USE_GLES3
EGL_RENDERABLE_TYPE, (1 << 6) /* EGL_OPENGL_ES3_BIT */,
#else
EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT,
#endif
#else
EGL_RENDERABLE_TYPE, EGL_OPENGL_BIT,
#endif