mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 11:48:55 +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() {
|
func (i *Image) invalidatePendingPixels() {
|
||||||
i.pixels = nil
|
i.pixels = nil
|
||||||
|
i.needsToResolvePixels = false
|
||||||
}
|
}
|
||||||
|
|
||||||
func (i *Image) resolvePendingPixels(keepPendingPixels bool) {
|
func (i *Image) resolvePendingPixels(keepPendingPixels bool) {
|
||||||
|
Loading…
Reference in New Issue
Block a user