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