mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
Remove calling runtime.LockOSThread (now blocks can be built with gopherjs)
This commit is contained in:
parent
cadb3fffdf
commit
e9527df0f5
@ -20,14 +20,9 @@ import (
|
|||||||
"github.com/hajimehoshi/ebiten/example/blocks/blocks"
|
"github.com/hajimehoshi/ebiten/example/blocks/blocks"
|
||||||
"log"
|
"log"
|
||||||
"os"
|
"os"
|
||||||
"runtime"
|
|
||||||
"runtime/pprof"
|
"runtime/pprof"
|
||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
|
||||||
runtime.LockOSThread()
|
|
||||||
}
|
|
||||||
|
|
||||||
var cpuProfile = flag.String("cpuprofile", "", "write cpu profile to file")
|
var cpuProfile = flag.String("cpuprofile", "", "write cpu profile to file")
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
Loading…
Reference in New Issue
Block a user