Skip to content

Commit ad59cd7

Browse files
committed
fix(spm): fix path to resources
1 parent e353f77 commit ad59cd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/GPUImage/Base/MetalRenderingDevice.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public class MetalRenderingDevice {
4343
let resName: String = "defaultiOS"
4444
#endif
4545

46-
let metalLibURL: URL = Bundle.module.url(forResource: resName, withExtension: "metallib", subdirectory: "Resources")!
46+
let metalLibURL: URL = Bundle.module.url(forResource: resName, withExtension: "metallib")!
4747
self.shaderLibrary = try device.makeLibrary(URL: metalLibURL)
4848
} catch {
4949
fatalError("Could not load library")

0 commit comments

Comments
 (0)