buffered: Bug fix: reset the flag when invalidating the pending pixels

Updates #977
This commit is contained in:
Hajime Hoshi 2019-11-09 05:54:24 +09:00
parent 9673feda9b
commit 35436ea504

View File

@ -85,6 +85,7 @@ func NewScreenFramebufferImage(width, height int) *Image {
func (i *Image) invalidatePendingPixels() {
i.pixels = nil
i.needsToResolvePixels = false
}
func (i *Image) resolvePendingPixels(keepPendingPixels bool) {