浏览代码

GLSLNodeBuilder: Remove `Int16Array` check from `getTypeFromAttribute()`. (#28920)

Michael Herzog 1 年之前
父节点
当前提交
5d5eb01c27
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/renderers/webgl-fallback/nodes/GLSLNodeBuilder.js

+ 1 - 1
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 Int16Array ) === false ) {
+			if ( ( array instanceof Uint32Array || array instanceof Int32Array ) === false ) {
 
 				nodeType = nodeType.slice( 1 );