use RFILE_MODE_READ for video_shader_parse
This commit is contained in:
parent
9d54da14b6
commit
40f82c26f7
|
@ -545,7 +545,7 @@ bool video_shader_resolve_parameters(config_file_t *conf,
|
||||||
/* If that doesn't work, fallback to the old path.
|
/* If that doesn't work, fallback to the old path.
|
||||||
* Ideally, we'd get rid of this path sooner or later. */
|
* Ideally, we'd get rid of this path sooner or later. */
|
||||||
#endif
|
#endif
|
||||||
file = filestream_open(path, RFILE_MODE_READ_TEXT, -1);
|
file = filestream_open(path, RFILE_MODE_READ, -1);
|
||||||
|
|
||||||
if (!file)
|
if (!file)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue