mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 13:13:43 +00:00
Fixed text rendering issue
This commit is contained in:
parent
168ce84a01
commit
98349a08b8
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ var TextWebGLRenderer = function (renderer, src, interpolationPercentage, camera
|
|||
src.dirty = false;
|
||||
}
|
||||
|
||||
renderer.spriteBatch.addSpriteTexture(src, camera, src.canvasTexture, w, h);
|
||||
renderer.spriteBatch.addSpriteTexture(src, camera, src.canvasTexture, src.prevWidth, src.prevHeight);
|
||||
};
|
||||
|
||||
module.exports = TextWebGLRenderer;
|
||||
|
|
Loading…
Reference in a new issue