mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-12 20:18:59 +01:00
graphcis: Fix a comment
This commit is contained in:
parent
c5e42c91be
commit
1f4c78c41c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user