remove openGlCompatibility key from MacOS cvPixelBuffer

This commit is contained in:
Nick Fisher
2024-02-18 21:49:26 +08:00
parent 65db2aa32e
commit 217626f434
2 changed files with 2 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ public class SwiftFlutterFilamentPlugin: NSObject, FlutterPlugin, FlutterTexture
var pixelBufferAttrs = [
kCVPixelBufferPixelFormatTypeKey: NSNumber(value: kCVPixelFormatType_32ABGR ),
kCVPixelBufferOpenGLCompatibilityKey: kCFBooleanTrue!,
// kCVPixelBufferOpenGLCompatibilityKey: kCFBooleanTrue!,
kCVPixelBufferIOSurfacePropertiesKey: [:] as CFDictionary
] as CFDictionary