From cff3b5346c6759b6c8d7880850ce10ce4e71bee8 Mon Sep 17 00:00:00 2001 From: Mugen87 Date: Fri, 19 Jul 2024 18:25:31 +0200 Subject: [PATCH] GLSLNodeBuilder: Fix `getTypeFromAttribute()` check. --- src/renderers/webgl-fallback/nodes/GLSLNodeBuilder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderers/webgl-fallback/nodes/GLSLNodeBuilder.js b/src/renderers/webgl-fallback/nodes/GLSLNodeBuilder.js index 21e902e8febe8c..3769d483195a44 100644 --- a/src/renderers/webgl-fallback/nodes/GLSLNodeBuilder.js +++ b/src/renderers/webgl-fallback/nodes/GLSLNodeBuilder.js @@ -476,7 +476,7 @@ ${ flowData.code } const array = dataAttribute.array; - if ( ( array instanceof Uint32Array || array instanceof Int32Array || array instanceof Uint16Array || array instanceof Int16Array ) === false ) { + if ( ( array instanceof Uint32Array || array instanceof Int32Array || array instanceof Int16Array ) === false ) { nodeType = nodeType.slice( 1 );