Skip to content

Commit 5ddffee

Browse files
committed
Fixed webgl_buffergeometry_rawshader example. See mrdoob#8618.
1 parent c88bd2c commit 5ddffee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/webgl_buffergeometry_rawshader.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@
135135

136136
}
137137

138-
geometry.addAttribute( 'color', new THREE.BufferAttribute( colors, 4 ) );
138+
geometry.addAttribute( 'color', new THREE.BufferAttribute( colors, 4, true ) );
139139

140140
// material
141141

0 commit comments

Comments
 (0)