fix bmfont uv error (#5092)

This commit is contained in:
JoneLau
2019-08-05 17:59:40 +08:00
committed by Weiliang Wang
parent 39ab81061e
commit 800344d538
+3 -2
View File
@@ -63,8 +63,9 @@ export const bmfont: IAssembler = {
renderData.indiceCount = renderData.dataLength / 2 * 3;
const datas = renderData.datas;
const texw = texture.width;
const texh = texture.height;
const origin = texture.originalSize;
const texw = origin.width;
const texh = origin.height;
const rectWidth = rect.width;
const rectHeight = rect.height;