mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-24 18:02:02 +01:00
parent
ccacf015c2
commit
82178794c3
@ -248,9 +248,10 @@ func (i *Image) Fill(r, g, b, a uint8) {
|
||||
panic("shareable: the drawing target image must not be disposed (Fill)")
|
||||
}
|
||||
i.ensureNotShared()
|
||||
backendsM.Unlock()
|
||||
|
||||
i.backend.restorable.Fill(r, g, b, a)
|
||||
|
||||
backendsM.Unlock()
|
||||
}
|
||||
|
||||
func (i *Image) ReplacePixels(p []byte) {
|
||||
|
Loading…
Reference in New Issue
Block a user