diff --git a/internal/buffered/image.go b/internal/buffered/image.go index 47a8df5a1..f40f9a0f1 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(volatile bool) { +func (i *Image) SetIndependent(idependent bool) { if maybeCanAddDelayedCommand() { if tryAddDelayedCommand(func() error { - i.SetIndependent(volatile) + i.SetIndependent(idependent) return nil }) { return } } - i.img.SetIndependent(volatile) + i.img.SetIndependent(idependent) } func (i *Image) SetVolatile(volatile bool) { diff --git a/internal/mipmap/mipmap.go b/internal/mipmap/mipmap.go index 77ba0fcb0..897258937 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(volatile bool) { - m.orig.SetIndependent(volatile) +func (m *Mipmap) SetIndependent(idependent bool) { + m.orig.SetIndependent(idependent) } func (m *Mipmap) SetVolatile(volatile bool) {