From fcc66dd77ff68b3d76e8004f78c4f8f64d132064 Mon Sep 17 00:00:00 2001 From: INARI_DARKFOX <39549290+inaridarkfox4231@users.noreply.github.com> Date: Tue, 13 Aug 2024 02:38:38 +0900 Subject: [PATCH] =?UTF-8?q?fig=E3=82=92vbos=E3=81=AB=E4=BF=AE=E6=AD=A3?= =?UTF-8?q?=E3=80=82=E8=BB=BD=E5=BE=AE=E3=81=AA=E3=83=9F=E3=82=B9=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/p5wgex.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p5wgex.js b/src/p5wgex.js index 9a48552..76d5b18 100644 --- a/src/p5wgex.js +++ b/src/p5wgex.js @@ -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);