Merge pull request #3659 from dreampiggy/bugfix/indexed_png_debug_macro

Fix that PNG indexed color fix does not enable on Release Build configuration
This commit is contained in:
DreamPiggy 2024-01-10 12:29:23 +08:00 committed by GitHub
commit be2a1c4575
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -238,10 +238,8 @@ static BOOL SDImageIOPNGPluginBuggyNeedWorkaround(void) {
// Correct value
isBuggy = NO;
} else {
#if DEBUG
NSLog(@"Detected the current OS's ImageIO PNG Decoder is buggy on indexed color PNG. Perform workaround solution...");
isBuggy = YES;
#endif
}
}
CFRelease(source);