Shaders Fix Crash change num shader passes in UI

This commit is contained in:
HyperspaceMadness 2020-11-30 19:30:15 -05:00
parent 4d2eb18a47
commit e98a8ce591

View File

@ -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++)
{