graphics: Remove FilterDefault from internal/graphics

This commit is contained in:
Hajime Hoshi 2019-06-26 00:33:30 +09:00
parent 847a8b4d53
commit 9963ae332e
2 changed files with 2 additions and 3 deletions

View File

@ -23,7 +23,7 @@ type Filter int
const (
// FilterDefault represents the default filter.
FilterDefault Filter = Filter(graphics.FilterDefault)
FilterDefault Filter = 0
// FilterNearest represents nearest (crisp-edged) filter
FilterNearest Filter = Filter(graphics.FilterNearest)

View File

@ -17,8 +17,7 @@ package graphics
type Filter int
const (
FilterDefault Filter = iota
FilterNearest
FilterNearest Filter = iota + 1 // TODO: Remove '+ 1' when ebiten.FilterDefault can be removed.
FilterLinear
FilterScreen
)