Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 6fc509a

Browse files
authored
Fix typo in textureFrameAvailable on macOS (#23823)
1 parent 6191161 commit 6fc509a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shell/platform/darwin/macos/framework/Source/FlutterOpenGLRenderer.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ - (int64_t)registerTexture:(id<FlutterTexture>)texture {
155155

156156
- (void)textureFrameAvailable:(int64_t)textureID {
157157
BOOL success = [_flutterEngine markTextureFrameAvailable:textureID];
158-
if (success) {
158+
if (!success) {
159159
NSLog(@"Unable to mark texture with id %lld as available.", textureID);
160160
}
161161
}

0 commit comments

Comments
 (0)