macos: fix call to video_shader_read_conf_preset

This commit is contained in:
Yoshi Sugawara 2019-07-20 12:08:37 -10:00
parent 388c4857d3
commit f292a5b9cb

View File

@ -1144,11 +1144,9 @@ typedef struct MTLALIGN(16)
{
unsigned i;
texture_t *source = NULL;
if (!video_shader_read_conf_preset(conf, shader))
if (!video_shader_read_conf_preset(conf, shader, path.UTF8String))
return NO;
video_shader_resolve_relative(shader, path.UTF8String);
source = &_engine.frame.texture[0];
for (i = 0; i < shader->passes; source = &_engine.pass[i++].rt)