mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-22 10:41:21 +00:00
Merge pull request #7307 from m4xw/develop
[LIBNX] Mesa EGL backend has been fixed, remove workaround.
This commit is contained in:
commit
7c2291cc62
@ -163,12 +163,7 @@ static void frontend_switch_deinit(void *data)
|
||||
splashData = NULL;
|
||||
}
|
||||
|
||||
#ifdef HAVE_OPENGL
|
||||
// Workaround for eglTerminate/re-init bug
|
||||
egl_destroy(&nx_ctx_ptr->egl);
|
||||
nx_ctx_ptr->resize = false;
|
||||
free(nx_ctx_ptr);
|
||||
#else
|
||||
#ifndef HAVE_OPENGL
|
||||
gfxExit();
|
||||
#endif
|
||||
#endif
|
||||
|
@ -34,11 +34,10 @@ void switch_ctx_destroy(void *data)
|
||||
if (ctx_nx)
|
||||
{
|
||||
#ifdef HAVE_EGL
|
||||
// Workaround for eglTerminate/re-init bug, other part in platform_switch.c
|
||||
//egl_destroy(&ctx_nx->egl);
|
||||
egl_destroy(&ctx_nx->egl);
|
||||
#endif
|
||||
ctx_nx->resize = false;
|
||||
//free(ctx_nx);
|
||||
free(ctx_nx);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user