mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
buffered: Bug fix: reset the flag when invalidating the pending pixels
Updates #977
This commit is contained in:
parent
9673feda9b
commit
35436ea504
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user