We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.
Text shows blur in iOS in 3.0rc but it is fine in 3.0beta2
Text shows blur in iOS in 3.0rc but it is fine in 3.0beta2
Bug #4492 [Closed]
Redmine issue system is closed, we are using github issue system instead.
This issue was moved to https://github.com/cocos2d/cocos2d-x/issues/8374
Status: | Closed | |
---|---|---|
Start date: | 2014-03-21 | |
Priority: | Low | |
Due date: | ||
Assignee: | - | |
% Done: | 0% |
|
Category: | - | |
Target version: | - |
_hasPremultipliedAlpha set to false after the update. Below patch fixed this issue. But i do not know why.
Index: CCTexture2D.cpp¶
--- CCTexture2D.cpp (revision 11)
+++ CCTexture2D.cpp (working copy)
@@ -1101,7 +1101,7 @@
{
free(outTempData);
}
-#if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID) || (CC_TARGET_PLATFORM == CC_PLATFORM_LINUX)
+#if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID) || (CC_TARGET_PLATFORM == CC_PLATFORM_LINUX) || (CC_TARGET_PLATFORM == CC_PLATFORM_IOS)
_hasPremultipliedAlpha = true;
#else
_hasPremultipliedAlpha = false;