diff --git a/spgdi.go b/spgdi.go index b66cce37..80f9e0c9 100644 --- a/spgdi.go +++ b/spgdi.go @@ -135,7 +135,7 @@ func (p *spriteDrawInfo) updateMatrix() { img, centerX, centerY := c.needImage(p.sprite.g.fs) centerX += p.sprite.pivot.X - centerY += p.sprite.pivot.Y + centerY -= p.sprite.pivot.Y rect := image.Rectangle{} rect.Min.X = 0 rect.Min.Y = 0