graphcis: Fix a comment

This commit is contained in:
Hajime Hoshi 2016-07-24 00:09:50 +09:00
parent c5e42c91be
commit 1f4c78c41c

View File

@ -99,7 +99,7 @@ func (p *pixels) resetHistoryIfNeeded(image *graphics.Image, target *Image, cont
return nil
}
if context == nil {
return errors.New("ebiten: OpenGL context is missing: before running the main loop, it is forbidden to manipulate images that is used as a drawing source once.")
return errors.New("ebiten: OpenGL context is missing: before running the main loop, it is forbidden to manipulate an image that is used as a drawing source once.")
}
var err error
p.basePixels, err = image.Pixels(context)