Skip to content

Commit fc11bcf

Browse files
committed
fix(spm): remove write texute
1 parent 8c21ee9 commit fc11bcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/GPUImage/Base/Texture.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public class Texture {
4242
width: width,
4343
height: height,
4444
mipmapped: false)
45-
textureDescriptor.usage = [.renderTarget, .shaderRead, .shaderWrite]
45+
textureDescriptor.usage = [.renderTarget, .shaderRead]
4646

4747
guard let newTexture = sharedMetalRenderingDevice.device.makeTexture(descriptor: textureDescriptor) else {
4848
fatalError("Could not create texture of size: (\(width), \(height))")

0 commit comments

Comments
 (0)