mirror of
https://github.com/libretro/RetroArch.git
synced 2025-01-31 14:04:21 +00:00
(BlackBerry) Fix PlayBook crash after selecting a game from RGUI
This commit is contained in:
parent
1e9e703375
commit
fdcc6e2087
2
driver.c
2
driver.c
@ -320,7 +320,7 @@ void global_uninit_drivers(void)
|
||||
{
|
||||
if (driver.video_data)
|
||||
{
|
||||
#ifdef RARCH_CONSOLE
|
||||
#if defined(RARCH_CONSOLE) || defined(__BLACKBERRY_QNX__)
|
||||
driver.video->stop();
|
||||
#endif
|
||||
driver.video_data = NULL;
|
||||
|
@ -54,6 +54,8 @@ int rarch_main(int argc, char *argv[])
|
||||
{
|
||||
if (g_extern.main_is_init)
|
||||
rarch_main_deinit();
|
||||
else
|
||||
global_uninit_drivers();
|
||||
|
||||
struct rarch_main_wrap args = {0};
|
||||
|
||||
|
@ -65,7 +65,7 @@ static void gfx_ctx_destroy(void)
|
||||
eglDestroyContext(g_egl_dpy, g_egl_ctx);
|
||||
eglDestroySurface(g_egl_dpy, g_egl_surf);
|
||||
eglTerminate(g_egl_dpy);
|
||||
eglReleaseThread();
|
||||
//eglReleaseThread();
|
||||
|
||||
g_egl_dpy = EGL_NO_DISPLAY;
|
||||
g_egl_surf = EGL_NO_SURFACE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user