Преглед изворни кода

Remove passing second parameter to requestAnimationFrame (#26432)

Nathan Bierema пре 2 година
родитељ
комит
bf97f70e9d
1 измењених фајлова са 1 додато и 1 уклоњено
  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();