mirror of
https://github.com/photonstorm/phaser
synced 2024-11-22 20:53:39 +00:00
Merge pull request #4745 from yhwh/enhancement/WebGLPipeline
update vertexComponentCount in WebGLPipeline addAttribute
This commit is contained in:
commit
1d30497a8f
1 changed files with 4 additions and 0 deletions
|
@ -275,6 +275,10 @@ var WebGLPipeline = new Class({
|
|||
offset: offset
|
||||
});
|
||||
|
||||
this.vertexComponentCount = Utils.getComponentCount(
|
||||
this.attributes,
|
||||
this.gl
|
||||
);
|
||||
return this;
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue