We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c21ee9 commit fc11bcfCopy full SHA for fc11bcf
Sources/GPUImage/Base/Texture.swift
@@ -42,7 +42,7 @@ public class Texture {
42
width: width,
43
height: height,
44
mipmapped: false)
45
- textureDescriptor.usage = [.renderTarget, .shaderRead, .shaderWrite]
+ textureDescriptor.usage = [.renderTarget, .shaderRead]
46
47
guard let newTexture = sharedMetalRenderingDevice.device.makeTexture(descriptor: textureDescriptor) else {
48
fatalError("Could not create texture of size: (\(width), \(height))")
0 commit comments