egl_destroy - don't do glFlush/glFinish on mobile platforms

This commit is contained in:
twinaphex 2015-12-04 01:44:41 +01:00
parent 8c6f0be6e9
commit 96ddc1f722

View File

@ -81,12 +81,14 @@ void egl_destroy(void *data)
{
if (g_egl_dpy)
{
#ifdef HAVE_OPENGL
#if defined HAVE_OPENGL
#if !defined(RARCH_MOBILE)
if (g_egl_ctx != EGL_NO_CONTEXT)
{
glFlush();
glFinish();
}
#endif
#endif
eglMakeCurrent(g_egl_dpy,