internal/buffered, interal/mipmap: typo

This commit is contained in:
Hajime Hoshi 2022-01-08 23:32:58 +09:00
parent 9d72d8c65a
commit e66d87e03d
2 changed files with 5 additions and 5 deletions

View File

@ -65,16 +65,16 @@ func (i *Image) initialize(width, height int) {
i.height = height
}
func (i *Image) SetIndependent(idependent bool) {
func (i *Image) SetIndependent(independent bool) {
if maybeCanAddDelayedCommand() {
if tryAddDelayedCommand(func() error {
i.SetIndependent(idependent)
i.SetIndependent(independent)
return nil
}) {
return
}
}
i.img.SetIndependent(idependent)
i.img.SetIndependent(independent)
}
func (i *Image) SetVolatile(volatile bool) {

View File

@ -59,8 +59,8 @@ func NewScreenFramebufferMipmap(width, height int) *Mipmap {
}
}
func (m *Mipmap) SetIndependent(idependent bool) {
m.orig.SetIndependent(idependent)
func (m *Mipmap) SetIndependent(independent bool) {
m.orig.SetIndependent(independent)
}
func (m *Mipmap) SetVolatile(volatile bool) {