mirror of
https://github.com/libretro/RetroArch
synced 2025-03-23 19:21:03 +00:00
egl_destroy - don't do glFlush/glFinish on mobile platforms
This commit is contained in:
parent
8c6f0be6e9
commit
96ddc1f722
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user