From 25665682ff0fc186fff10aba6ca24bfb7b51e71a Mon Sep 17 00:00:00 2001 From: Jeremy Jackins Date: Thu, 29 Jan 2015 15:40:53 +0900 Subject: [PATCH] Update example in doc.go The function argument to ebiten.Run takes an *ebiten.Image, and must return an error. --- doc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc.go b/doc.go index e39bcd0d8..a9d85f9a0 100644 --- a/doc.go +++ b/doc.go @@ -16,7 +16,7 @@ // // You can start the game by calling the function Run. // -// func update(screen *ebiten.Screen) { +// func update(screen *ebiten.Image) error { // // Define your game. // } //