mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 11:18:54 +01:00
internal/buffered, interal/mipmap: typo
This commit is contained in:
parent
9d72d8c65a
commit
e66d87e03d
@ -65,16 +65,16 @@ func (i *Image) initialize(width, height int) {
|
|||||||
i.height = height
|
i.height = height
|
||||||
}
|
}
|
||||||
|
|
||||||
func (i *Image) SetIndependent(idependent bool) {
|
func (i *Image) SetIndependent(independent bool) {
|
||||||
if maybeCanAddDelayedCommand() {
|
if maybeCanAddDelayedCommand() {
|
||||||
if tryAddDelayedCommand(func() error {
|
if tryAddDelayedCommand(func() error {
|
||||||
i.SetIndependent(idependent)
|
i.SetIndependent(independent)
|
||||||
return nil
|
return nil
|
||||||
}) {
|
}) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
i.img.SetIndependent(idependent)
|
i.img.SetIndependent(independent)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (i *Image) SetVolatile(volatile bool) {
|
func (i *Image) SetVolatile(volatile bool) {
|
||||||
|
@ -59,8 +59,8 @@ func NewScreenFramebufferMipmap(width, height int) *Mipmap {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *Mipmap) SetIndependent(idependent bool) {
|
func (m *Mipmap) SetIndependent(independent bool) {
|
||||||
m.orig.SetIndependent(idependent)
|
m.orig.SetIndependent(independent)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *Mipmap) SetVolatile(volatile bool) {
|
func (m *Mipmap) SetVolatile(volatile bool) {
|
||||||
|
Loading…
Reference in New Issue
Block a user