remove openGlCompatibility key from MacOS cvPixelBuffer

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

No files matched your search

@@ -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