mirror of https://github.com/axmolengine/axmol.git
Merge branch 'develop' of git://github.com/cocos2d/cocos2d-x into merge5343
This commit is contained in:
commit
8700d0f64e
|
@ -482,7 +482,7 @@ Data Device::getTextureDataForText(const char * text,const FontDefinition& textD
|
|||
break;
|
||||
}
|
||||
height = (short)info.height;
|
||||
widht = (short)info.width;
|
||||
width = (short)info.width;
|
||||
ret.fastSet(info.data,width * height * 4);
|
||||
} while (0);
|
||||
|
||||
|
|
|
@ -224,7 +224,7 @@ Data Device::getTextureDataForText(const char * text,const FontDefinition& textD
|
|||
break;
|
||||
}
|
||||
height = (short)info.height;
|
||||
widht = (short)info.width;
|
||||
width = (short)info.width;
|
||||
ret.fastSet(info.data,width * height * 4);
|
||||
} while (0);
|
||||
|
||||
|
|
Loading…
Reference in New Issue