Skip to content

Commit

Permalink
buffered: Bug fix: reset the flag when invalidating the pending pixels
Browse files Browse the repository at this point in the history
Updates #977
  • Loading branch information
hajimehoshi committed Nov 8, 2019
1 parent 9673fed commit 35436ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/buffered/image.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 35436ea

Please sign in to comment.