|
@@ -140,7 +140,7 @@ function WebGLAttributes( gl, capabilities ) {
|
|
|
|
|
|
if ( attribute.isGLBufferAttribute ) {
|
|
if ( attribute.isGLBufferAttribute ) {
|
|
|
|
|
|
- var cached = buffers.get( attribute );
|
|
|
|
|
|
+ const cached = buffers.get( attribute );
|
|
|
|
|
|
if ( ! cached || cached.version < attribute.version ) {
|
|
if ( ! cached || cached.version < attribute.version ) {
|
|
|
|
|