mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
Bug fix: the initial state of a ebiten
This commit is contained in:
parent
c36d8c5512
commit
63abfb2c13
@ -82,7 +82,7 @@ func (game *Game) Update() {
|
||||
|
||||
game.drawInfo.textureGeo.Translate(-textureWidth/2, -textureHeight/2)
|
||||
game.drawInfo.textureGeo.Rotate(game.drawInfo.textureAngle)
|
||||
game.drawInfo.textureGeo.Translate(textureWidth, textureHeight)
|
||||
game.drawInfo.textureGeo.Translate(textureWidth/2, textureHeight/2)
|
||||
|
||||
game.drawInfo.textureGeo.Translate(float64(game.textureX), float64(game.textureY))
|
||||
|
||||
|
@ -5,7 +5,7 @@ import (
|
||||
)
|
||||
|
||||
type textureFactoryEvents struct {
|
||||
textureCreated chan graphics.TextureCreatedEvent
|
||||
textureCreated chan graphics.TextureCreatedEvent
|
||||
renderTargetCreated chan graphics.RenderTargetCreatedEvent
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user