mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 16:39:43 +00:00
Remove unnecessary uninit_video_misc
This commit is contained in:
parent
a97b53f9f1
commit
985a5d9779
18
driver.c
18
driver.c
@ -598,16 +598,6 @@ static void compute_monitor_fps_statistics(void)
|
||||
}
|
||||
}
|
||||
|
||||
static void uninit_video_misc(void)
|
||||
{
|
||||
deinit_pixel_converter();
|
||||
|
||||
rarch_deinit_filter();
|
||||
|
||||
deinit_shader_dir();
|
||||
compute_monitor_fps_statistics();
|
||||
}
|
||||
|
||||
void uninit_drivers(void)
|
||||
{
|
||||
uninit_audio();
|
||||
@ -616,7 +606,6 @@ void uninit_drivers(void)
|
||||
g_extern.system.hw_render_callback.context_destroy();
|
||||
|
||||
uninit_video_input();
|
||||
uninit_video_misc();
|
||||
|
||||
if (!driver.video_data_own)
|
||||
driver.video_data = NULL;
|
||||
@ -1180,6 +1169,13 @@ void uninit_video_input(void)
|
||||
|
||||
if (!driver.video_data_own && driver.video_data && driver.video && driver.video->free)
|
||||
video_free_func();
|
||||
|
||||
deinit_pixel_converter();
|
||||
|
||||
rarch_deinit_filter();
|
||||
|
||||
deinit_shader_dir();
|
||||
compute_monitor_fps_statistics();
|
||||
}
|
||||
|
||||
driver_t driver;
|
||||
|
Loading…
Reference in New Issue
Block a user