mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 03:32:46 +00:00
Shaders Fix Crash change num shader passes in UI
This commit is contained in:
parent
4d2eb18a47
commit
e98a8ce591
@ -427,6 +427,9 @@ bool video_shader_resolve_current_parameters(config_file_t *conf,
|
||||
unsigned i;
|
||||
const struct config_entry_list *entry = NULL;
|
||||
|
||||
if (!conf)
|
||||
return false;
|
||||
|
||||
/* For all parameters in the shader see if there is any config value set */
|
||||
for (i = 0; i < shader->num_parameters; i++)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user