Merge pull request #9144 from yoshisuga/macos_fix_shader_ref
macos: fix call to video_shader_read_conf_preset
This commit is contained in:
commit
6704a66a57
|
@ -1144,11 +1144,9 @@ typedef struct MTLALIGN(16)
|
||||||
{
|
{
|
||||||
unsigned i;
|
unsigned i;
|
||||||
texture_t *source = NULL;
|
texture_t *source = NULL;
|
||||||
if (!video_shader_read_conf_preset(conf, shader))
|
if (!video_shader_read_conf_preset(conf, shader, path.UTF8String))
|
||||||
return NO;
|
return NO;
|
||||||
|
|
||||||
video_shader_resolve_relative(shader, path.UTF8String);
|
|
||||||
|
|
||||||
source = &_engine.frame.texture[0];
|
source = &_engine.frame.texture[0];
|
||||||
|
|
||||||
for (i = 0; i < shader->passes; source = &_engine.pass[i++].rt)
|
for (i = 0; i < shader->passes; source = &_engine.pass[i++].rt)
|
||||||
|
|
Loading…
Reference in New Issue