Browse Source

Remove passing second parameter to requestAnimationFrame (#26432)

Nathan Bierema 2 năm trước cách đây
mục cha
commit
bf97f70e9d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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();