mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 11:18:54 +01:00
parent
2e971a7ef4
commit
7c10e48afd
@ -359,6 +359,11 @@ func (i *Image) putOnSourceBackend(graphicsDriver graphicsdriver.Graphics) error
|
|||||||
|
|
||||||
newI.moveTo(i)
|
newI.moveTo(i)
|
||||||
i.usedAsSourceCount = 0
|
i.usedAsSourceCount = 0
|
||||||
|
|
||||||
|
if !i.isOnSourceBackend() {
|
||||||
|
panic("atlas: i must be on a source backend but not")
|
||||||
|
}
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user