mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
mali_fbdev: fix segfault switching video threaded from quickmenu
This commit is contained in:
parent
3a25e1fbc3
commit
fe943a65e8
@ -160,6 +160,7 @@ static void gfx_ctx_mali_fbdev_destroy(void *data)
|
||||
gfx_ctx_mali_fbdev_global=NULL;
|
||||
gfx_ctx_mali_fbdev_restart_pending=true;
|
||||
}else if (gfx_ctx_mali_fbdev_was_threaded!=*video_driver_get_threaded()){
|
||||
gfx_ctx_mali_fbdev_global=NULL;
|
||||
command_event(CMD_EVENT_RESTART_RETROARCH,NULL);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user