update 02 guide code

This commit is contained in:
faiface 2017-05-24 16:16:59 +02:00
parent 095d736276
commit 99168db639
1 changed files with 1 additions and 2 deletions

View File

@ -44,8 +44,7 @@ func run() {
win.Clear(colornames.Greenyellow) win.Clear(colornames.Greenyellow)
sprite.SetMatrix(pixel.IM.Moved(win.Bounds().Center())) sprite.Draw(win, pixel.IM.Moved(win.Bounds().Center()))
sprite.Draw(win)
for !win.Closed() { for !win.Closed() {
win.Update() win.Update()