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); } }