mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-10-28 18:31:58 +08:00
graphics: Bug fix: wrong for loops in TestImageMipmap*
This commit is contained in:
@@ -56,6 +56,7 @@ func update(screen *ebiten.Image) error {
|
||||
|
||||
// Move the image to the screen's center.
|
||||
op.GeoM.Translate(screenWidth/2, screenHeight/2)
|
||||
|
||||
screen.DrawImage(gophersImage, op)
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user