mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 02:38:53 +01:00
js: Revert 60 FPS from 30 FPS
This commit is contained in:
parent
cba1066b0f
commit
2b8e98cfbc
@ -78,9 +78,7 @@ func shown() bool {
|
||||
|
||||
func vsync() {
|
||||
ch := make(chan struct{})
|
||||
// As the performance is generally not good with GopehrJS, consume n 'requestAnimationFrame's
|
||||
// each time.
|
||||
n := 2
|
||||
n := 1
|
||||
var l func()
|
||||
l = func() {
|
||||
if 0 < n {
|
||||
|
Loading…
Reference in New Issue
Block a user