Fix that PNG indexed color fix does not enable on Release Build configuration

This commit is contained in:
DreamPiggy 2024-01-10 12:12:28 +08:00
parent fd010e5423
commit a041469643
1 changed files with 0 additions and 2 deletions

View File

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