mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
Prevent video filter init if game is not running (#14593)
This commit is contained in:
parent
9796024f3d
commit
6d34ef46f4
@ -3284,7 +3284,9 @@ bool video_driver_init_internal(bool *video_is_threaded, bool verbosity_enabled)
|
||||
#ifdef HAVE_VIDEO_FILTER
|
||||
const char *path_softfilter_plugin = settings->paths.path_softfilter_plugin;
|
||||
|
||||
if (!string_is_empty(path_softfilter_plugin))
|
||||
/* Init video filter only when game is running */
|
||||
if ((runloop_st->current_core.flags & RETRO_CORE_FLAG_GAME_LOADED) &&
|
||||
!string_is_empty(path_softfilter_plugin))
|
||||
video_driver_init_filter(video_driver_pix_fmt, settings);
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user