Ver Fonte

Merge pull request #19875 from greggman/fix-time-nan

fix nan on first frame
Mr.doob há 5 anos atrás
pai
commit
1fce82af78
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      examples/webgl_shader.html

+ 1 - 1
examples/webgl_shader.html

@@ -74,7 +74,7 @@
 			var uniforms;
 			var uniforms;
 
 
 			init();
 			init();
-			animate();
+			animate( 0 );
 
 
 			function init() {
 			function init() {