Skip to content

Commit

Permalink
figをvbosに修正。軽微なミス。
Browse files Browse the repository at this point in the history
  • Loading branch information
inaridarkfox4231 committed Aug 12, 2024
1 parent fad51ac commit fcc66dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/p5wgex.js
Original file line number Diff line number Diff line change
Expand Up @@ -5964,7 +5964,7 @@ const p5wgex = (function(){
for(const attrName of Object.keys(attrs)){
// 登録されているattributeでshaderに出現し、かつcountが正の物だけenableになっているようにしたい。
if(vbos[attrName] !== undefined){
if(fig[attrName].count > 0){ continue; }
if(vbos[attrName].count > 0){ continue; }
}
// そうでないものをdisableにするわけ
this.gl.disableVertexAttribArray(attrs[attrName].location);
Expand Down

0 comments on commit fcc66dd

Please sign in to comment.