graphics: At doesn't have to discard pending pixels

This commit is contained in:
Hajime Hoshi 2019-10-05 00:18:45 +09:00
parent 4c90674e17
commit 2d2da09b85

View File

@ -391,7 +391,7 @@ func (i *Image) At(x, y int) color.Color {
return color.RGBA{}
}
// TODO: Use pending pixels
i.resolvePendingPixels(false)
i.resolvePendingPixels(true)
r, g, b, a := i.mipmap.at(x, y)
return color.RGBA{r, g, b, a}
}