mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-11 19:48:54 +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() {
|
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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user