use RFILE_MODE_READ for video_shader_parse

This commit is contained in:
twinaphex 2017-12-10 22:01:48 +01:00
parent 9d54da14b6
commit 40f82c26f7

View File

@ -545,7 +545,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(path, RFILE_MODE_READ_TEXT, -1);
file = filestream_open(path, RFILE_MODE_READ, -1);
if (!file)
{