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:
Hyang-Ah Hana Kim 2015-05-15 08:04:59 -04:00
parent a5e8a96a7f
commit 754ad3cfda
1 changed files with 1 additions and 3 deletions

View File

@ -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