mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Fix 'Auto-Shader Delay' functionality
This commit is contained in:
parent
6189fd3f42
commit
0a24f5f38a
@ -10753,8 +10753,6 @@ static bool retroarch_apply_shader(
|
||||
if (!string_is_empty(preset_path))
|
||||
preset_file = path_basename_nocompression(preset_path);
|
||||
|
||||
p_rarch->runtime_shader_preset[0] = '\0';
|
||||
|
||||
/* TODO/FIXME - This loads the shader into the video driver
|
||||
* But then we load the shader from disk twice more to put it in the menu
|
||||
* We need to reconfigure this at some point to only load it once */
|
||||
@ -10775,6 +10773,8 @@ static bool retroarch_apply_shader(
|
||||
shader->modified = false;
|
||||
#endif
|
||||
}
|
||||
else
|
||||
p_rarch->runtime_shader_preset[0] = '\0';
|
||||
|
||||
if (message)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user