ebitenutil: emptyImage should use nearest filter

This commit is contained in:
Hajime Hoshi 2017-12-03 23:08:58 +09:00
parent eeea25f202
commit d832f1e3cb

View File

@ -24,7 +24,7 @@ import (
var emptyImage *ebiten.Image var emptyImage *ebiten.Image
func init() { func init() {
emptyImage, _ = ebiten.NewImage(16, 16, ebiten.FilterLinear) emptyImage, _ = ebiten.NewImage(16, 16, ebiten.FilterNearest)
_ = emptyImage.Fill(color.White) _ = emptyImage.Fill(color.White)
} }