We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a734b74 commit 5d52bd9Copy full SHA for 5d52bd9
1 file changed
v3/src/gameobjects/tilemap/static/StaticTilemap.js
@@ -83,6 +83,7 @@ var StaticTilemap = new Class({
83
vbo.addAttribute(this.tilemapRenderer.shader.getAttribLocation('a_tex_coord'), 2, gl.FLOAT, false, CONST.VERTEX_SIZE, 8);
84
bufferData = this.bufferData = new ArrayBuffer((4 * 6 * (mapWidth * mapHeight)) * 4);
85
this.vbo = vbo;
86
+ vbo.bind();
87
}
88
89
bufferF32 = new Float32Array(bufferData);
0 commit comments