graphics: Add comment

This commit is contained in:
Hajime Hoshi 2016-02-16 04:11:59 +09:00
parent 35b6286a8d
commit 5fcf20678a

View File

@ -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 {