app: update EndPaint in test and documentation

Change-Id: I7c9e6edc2d50dca3c2d15426370d218d0c4dfe09
Reviewed-on: https://go-review.googlesource.com/13021
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
This commit is contained in:
David Crawshaw 2015-07-31 11:01:05 -04:00
parent 18a718a447
commit 92213082f9
2 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ goroutine as other code that calls OpenGL.
// ...
case paint.Event:
log.Print("Call OpenGL here.")
a.EndPaint()
a.EndPaint(e)
}
}
})

View File

@ -59,7 +59,7 @@ func main() {
comm.Send("paint")
sendPainting = false
}
a.EndPaint()
a.EndPaint(e)
case touch.Event:
comm.Send("touch", e.Type, e.Loc.X.Px(c.PixelsPerPt), e.Loc.Y.Px(c.PixelsPerPt))
}