Explorar o código

Merge pull request #20635 from Mugen87/dev51

WebGLAttributes: Remove overlooked var.
Mr.doob %!s(int64=5) %!d(string=hai) anos
pai
achega
e1ef121363
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 ) {
 
-			var cached = buffers.get( attribute );
+			const cached = buffers.get( attribute );
 
 			if ( ! cached || cached.version < attribute.version ) {
 

粤ICP备19079148号