diff --git a/shell/platform/darwin/macos/framework/Source/FlutterOpenGLRenderer.mm b/shell/platform/darwin/macos/framework/Source/FlutterOpenGLRenderer.mm index b7cd63643382a..7790e4634e226 100644 --- a/shell/platform/darwin/macos/framework/Source/FlutterOpenGLRenderer.mm +++ b/shell/platform/darwin/macos/framework/Source/FlutterOpenGLRenderer.mm @@ -155,7 +155,7 @@ - (int64_t)registerTexture:(id)texture { - (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); } }