Skip to content

Commit

Permalink
GLSLNodeBuilder: Fix getTypeFromAttribute() check.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mugen87 committed Jul 19, 2024
1 parent 6094b53 commit cff3b53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderers/webgl-fallback/nodes/GLSLNodeBuilder.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 );

Expand Down

0 comments on commit cff3b53

Please sign in to comment.