mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 18:58:54 +01:00
graphics: Add comment
This commit is contained in:
parent
35b6286a8d
commit
5fcf20678a
@ -21,10 +21,9 @@ import (
|
||||
// Filter represents the type of filter to be used when an image is maginified or minified.
|
||||
type Filter int
|
||||
|
||||
// Filters
|
||||
const (
|
||||
FilterNearest Filter = iota
|
||||
FilterLinear
|
||||
FilterNearest Filter = iota // nearest (crisp-edged) filter
|
||||
FilterLinear // linear filter
|
||||
)
|
||||
|
||||
func glFilter(c *opengl.Context, filter Filter) opengl.Filter {
|
||||
|
Loading…
Reference in New Issue
Block a user