Skip to content

Commit 1d30497

Browse files
authored
Merge pull request phaserjs#4745 from yhwh/enhancement/WebGLPipeline
update vertexComponentCount in WebGLPipeline addAttribute
2 parents f3e1800 + a76e3c7 commit 1d30497

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/renderer/webgl/WebGLPipeline.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,10 @@ var WebGLPipeline = new Class({
275275
offset: offset
276276
});
277277

278+
this.vertexComponentCount = Utils.getComponentCount(
279+
this.attributes,
280+
this.gl
281+
);
278282
return this;
279283
},
280284

0 commit comments

Comments
 (0)