|
|
@@ -145,6 +145,8 @@ function WebGLAttributes( gl ) {
|
|
|
|
|
|
function update( attribute, bufferType ) {
|
|
|
|
|
|
+ if ( attribute.isInterleavedBufferAttribute ) attribute = attribute.data;
|
|
|
+
|
|
|
if ( attribute.isGLBufferAttribute ) {
|
|
|
|
|
|
const cached = buffers.get( attribute );
|
|
|
@@ -164,8 +166,6 @@ function WebGLAttributes( gl ) {
|
|
|
|
|
|
}
|
|
|
|
|
|
- if ( attribute.isInterleavedBufferAttribute ) attribute = attribute.data;
|
|
|
-
|
|
|
const data = buffers.get( attribute );
|
|
|
|
|
|
if ( data === undefined ) {
|