Fix that PNG indexed color fix does not enable on Release Build configuration
This commit is contained in:
parent
fd010e5423
commit
a041469643
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue