mali_fbdev: fix segfault switching video threaded from quickmenu

This commit is contained in:
Giovanni Cascione 2022-03-15 00:11:37 +01:00 committed by Autechre
parent 3a25e1fbc3
commit fe943a65e8

View File

@ -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);
}
}