mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 11:18:54 +01:00
buffered: Bug fix: reset the flag when invalidating the pending pixels
Updates #977
This commit is contained in:
parent
ec59e9b9ae
commit
8d12446dbe
@ -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