We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6fb8d7 commit b6ed58bCopy full SHA for b6ed58b
1 file changed
v3/src/gameobjects/tilesprite/TileSprite.js
@@ -86,8 +86,6 @@ var TileSprite = new Class({
86
return;
87
}
88
89
- this.canvasBuffer.width = this.canvasBuffer.width;
90
-
91
this.canvasBufferCtx.drawImage(
92
this.frame.source.image,
93
this.frame.cutX, this.frame.cutY,
@@ -98,7 +96,7 @@ var TileSprite = new Class({
98
96
99
97
if (this.renderer)
100
{
101
- this.renderer.uploadCanvasToGPU(this.canvasBuffer, this.tileTexture, true);
+ this.renderer.uploadCanvasToGPU(this.canvasBuffer, this.tileTexture, false);
102
103
else
104
0 commit comments