Merge pull request #9144 from yoshisuga/macos_fix_shader_ref

macos: fix call to video_shader_read_conf_preset
This commit is contained in:
Twinaphex 2019-07-21 00:36:14 +02:00 committed by GitHub
commit 6704a66a57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)