mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
shareable: Bug fix: forceShared should allocate backend as shareable
This commit is contained in:
parent
8a221a5774
commit
0bf62f392f
@ -141,7 +141,7 @@ func (i *Image) ensureNotShared() {
|
||||
|
||||
func (i *Image) forceShared() {
|
||||
if i.backend == nil {
|
||||
i.allocate(false)
|
||||
i.allocate(true)
|
||||
return
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user