Fix typo in textureFrameAvailable on macOS (flutter/engine#23823)

This commit is contained in:
Jang-Ho Hwang
2021-01-22 01:31:00 +09:00
committed by GitHub
parent 5743016d28
commit b2f2ffae85

View File

@@ -155,7 +155,7 @@ static bool OnAcquireExternalTexture(FlutterEngine* engine,
- (void)textureFrameAvailable:(int64_t)textureID {
BOOL success = [_flutterEngine markTextureFrameAvailable:textureID];
if (success) {
if (!success) {
NSLog(@"Unable to mark texture with id %lld as available.", textureID);
}
}