remove openGlCompatibility key from MacOS cvPixelBuffer
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user