Skip to content

Commit

Permalink
internal/buffered, interal/mipmap: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
hajimehoshi committed Jan 8, 2022
1 parent 9d72d8c commit e66d87e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions internal/buffered/image.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
4 changes: 2 additions & 2 deletions internal/mipmap/mipmap.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit e66d87e

Please sign in to comment.