mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 03:38:55 +01:00
ebitenutil: emptyImage should use nearest filter
This commit is contained in:
parent
eeea25f202
commit
d832f1e3cb
@ -24,7 +24,7 @@ import (
|
||||
var emptyImage *ebiten.Image
|
||||
|
||||
func init() {
|
||||
emptyImage, _ = ebiten.NewImage(16, 16, ebiten.FilterLinear)
|
||||
emptyImage, _ = ebiten.NewImage(16, 16, ebiten.FilterNearest)
|
||||
_ = emptyImage.Fill(color.White)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user