Merge pull request #10780 from ryule/fix_CCDevice-ios_font_stroke_alpha

Fix CCDevice-ios.mm to have the right alpha color for a stroke effect.
This commit is contained in:
minggo 2015-03-10 11:19:29 +08:00
commit f3567ba1af
1 changed files with 1 additions and 1 deletions

View File

@ -471,7 +471,7 @@ Data Device::getTextureDataForText(const char * text, const FontDefinition& text
info.strokeColorR = textDefinition._stroke._strokeColor.r / 255.0f;
info.strokeColorG = textDefinition._stroke._strokeColor.g / 255.0f;
info.strokeColorB = textDefinition._stroke._strokeColor.b / 255.0f;
info.strokeColorB = textDefinition._stroke._strokeAlpha / 255.0f;
info.strokeColorA = textDefinition._stroke._strokeAlpha / 255.0f;
info.strokeSize = textDefinition._stroke._strokeSize;
info.tintColorR = textDefinition._fontFillColor.r / 255.0f;
info.tintColorG = textDefinition._fontFillColor.g / 255.0f;