From f292a5b9cb63910bd3918b31d2aed6e54c0463a8 Mon Sep 17 00:00:00 2001 From: Yoshi Sugawara Date: Sat, 20 Jul 2019 12:08:37 -1000 Subject: [PATCH] macos: fix call to video_shader_read_conf_preset --- gfx/common/metal_common.m | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gfx/common/metal_common.m b/gfx/common/metal_common.m index 17e38c0aa3..eb997c4eae 100644 --- a/gfx/common/metal_common.m +++ b/gfx/common/metal_common.m @@ -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)