Merge pull request #177 from CatalystG/master
(BlackBerry) Fix PlayBook crash
This commit is contained in:
commit
7c94cbf996
|
@ -34,7 +34,8 @@ int rarch_main(int argc, char *argv[])
|
|||
strlcpy(g_settings.libretro, "app/native/lib", sizeof(g_settings.libretro));
|
||||
|
||||
config_load();
|
||||
global_init_drivers();
|
||||
init_drivers_pre();
|
||||
init_drivers();
|
||||
|
||||
g_extern.verbose = true;
|
||||
|
||||
|
@ -54,6 +55,8 @@ int rarch_main(int argc, char *argv[])
|
|||
{
|
||||
if (g_extern.main_is_init)
|
||||
rarch_main_deinit();
|
||||
else
|
||||
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…
Reference in New Issue