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:
commit
be2a1c4575
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue