From b2f2ffae85c95e74867dbcdf6de18c0de860a4c6 Mon Sep 17 00:00:00 2001 From: Jang-Ho Hwang Date: Fri, 22 Jan 2021 01:31:00 +0900 Subject: [PATCH] Fix typo in textureFrameAvailable on macOS (flutter/engine#23823) --- .../darwin/macos/framework/Source/FlutterOpenGLRenderer.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/flutter/shell/platform/darwin/macos/framework/Source/FlutterOpenGLRenderer.mm b/engine/src/flutter/shell/platform/darwin/macos/framework/Source/FlutterOpenGLRenderer.mm index b7cd636433..7790e4634e 100644 --- a/engine/src/flutter/shell/platform/darwin/macos/framework/Source/FlutterOpenGLRenderer.mm +++ b/engine/src/flutter/shell/platform/darwin/macos/framework/Source/FlutterOpenGLRenderer.mm @@ -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); } }