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)