js: Revert 60 FPS from 30 FPS

This commit is contained in:
Hajime Hoshi 2015-06-14 03:50:43 +09:00
parent cba1066b0f
commit 2b8e98cfbc

View File

@ -78,9 +78,7 @@ func shown() bool {
func vsync() { func vsync() {
ch := make(chan struct{}) ch := make(chan struct{})
// As the performance is generally not good with GopehrJS, consume n 'requestAnimationFrame's n := 1
// each time.
n := 2
var l func() var l func()
l = func() { l = func() {
if 0 < n { if 0 < n {