mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
restorable: Skip initializing the screen image
This commit is contained in:
parent
962a11468b
commit
247e4f5b6b
@ -94,7 +94,7 @@ func NewScreenFramebufferImage(width, height int) *Image {
|
||||
screen: true,
|
||||
}
|
||||
theImages.add(i)
|
||||
i.ReplacePixels(nil, 0, 0, width, height)
|
||||
// The screen image doesn't have to be cleared.
|
||||
return i
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user