Explorar el Código

Remove passing second parameter to requestAnimationFrame (#26432)

Nathan Bierema hace 2 años
padre
commit
bf97f70e9d
Se han modificado 1 ficheros con 1 adiciones y 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();