Browse Source

Merge pull request #20635 from Mugen87/dev51

WebGLAttributes: Remove overlooked var.
Mr.doob 4 years ago
parent
commit
e1ef121363
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/renderers/webgl/WebGLAttributes.js

+ 1 - 1
src/renderers/webgl/WebGLAttributes.js

@@ -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 ) {