diff --git a/internal/buffered/image.go b/internal/buffered/image.go index f40f9a0f1fc2..1d1563fa5b11 100644 --- a/internal/buffered/image.go +++ b/internal/buffered/image.go @@ -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) { diff --git a/internal/mipmap/mipmap.go b/internal/mipmap/mipmap.go index 8972589379de..bf06845dd76e 100644 --- a/internal/mipmap/mipmap.go +++ b/internal/mipmap/mipmap.go @@ -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) {