mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
graphics: Remove FilterDefault from internal/graphics
This commit is contained in:
parent
847a8b4d53
commit
9963ae332e
@ -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)
|
||||
|
@ -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
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user