Set FlutterTexture copyPixelBuffer return nullable (flutter/engine#4934)
This is to support Swift users, where nil is allowed for CVPixelBufferRef.
This commit is contained in:
@@ -14,7 +14,7 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
FLUTTER_EXPORT
|
||||
@protocol FlutterTexture<NSObject>
|
||||
- (CVPixelBufferRef)copyPixelBuffer;
|
||||
- (CVPixelBufferRef _Nullable)copyPixelBuffer;
|
||||
@end
|
||||
|
||||
FLUTTER_EXPORT
|
||||
|
||||
Reference in New Issue
Block a user