app: fix broken build on linux.
Fixes golang/go#10869 Change-Id: I5bb24bed198379c9b9c6533ac28e80bd0b17a2a8 Reviewed-on: https://go-review.googlesource.com/10117 Reviewed-by: Burcu Dogan <jbd@google.com>
This commit is contained in:
parent
a5e8a96a7f
commit
754ad3cfda
|
@ -29,8 +29,6 @@ import (
|
|||
"golang.org/x/mobile/geom"
|
||||
)
|
||||
|
||||
var callbacks []Callbacks
|
||||
|
||||
func run(cbs []Callbacks) {
|
||||
runtime.LockOSThread()
|
||||
callbacks = cbs
|
||||
|
@ -99,7 +97,7 @@ func onDraw() {
|
|||
|
||||
//export onStart
|
||||
func onStart() {
|
||||
stateInit(callbacks)
|
||||
stateStart(callbacks)
|
||||
}
|
||||
|
||||
//export onStop
|
||||
|
|
Loading…
Reference in New Issue