Merge pull request #4745 from yhwh/enhancement/WebGLPipeline

update vertexComponentCount in WebGLPipeline addAttribute
This commit is contained in:
Richard Davey 2019-09-26 12:41:35 +01:00 committed by GitHub
commit 1d30497a8f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -275,6 +275,10 @@ var WebGLPipeline = new Class({
offset: offset
});
this.vertexComponentCount = Utils.getComponentCount(
this.attributes,
this.gl
);
return this;
},