Explorar o código

Remove passing second parameter to requestAnimationFrame (#26432)

Nathan Bierema %!s(int64=2) %!d(string=hai) anos
pai
achega
bf97f70e9d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      examples/webgl_postprocessing_godrays.html

+ 1 - 1
examples/webgl_postprocessing_godrays.html

@@ -228,7 +228,7 @@
 
 			function animate() {
 
-				requestAnimationFrame( animate, renderer.domElement );
+				requestAnimationFrame( animate );
 
 				stats.begin();
 				render();