浏览代码

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();