1
0
mirror of https://github.com/libretro/RetroArch synced 2024-07-08 12:15:49 +00:00

Use local variable

This commit is contained in:
twinaphex 2017-05-28 17:46:42 +02:00
parent 857562bf9d
commit 2f39e4cd33

View File

@ -500,7 +500,7 @@ bool video_shader_resolve_parameters(config_file_t *conf,
/* If that doesn't work, fallback to the old path.
* Ideally, we'd get rid of this path sooner or later. */
#endif
file = filestream_open(shader->pass[i].source.path, RFILE_MODE_READ_TEXT, -1);
file = filestream_open(path, RFILE_MODE_READ_TEXT, -1);
if (!file)
continue;