restorable: Skip initializing the screen image

This commit is contained in:
Hajime Hoshi 2018-11-30 00:19:52 +01:00
parent 962a11468b
commit 247e4f5b6b

View File

@ -94,7 +94,7 @@ func NewScreenFramebufferImage(width, height int) *Image {
screen: true, screen: true,
} }
theImages.add(i) theImages.add(i)
i.ReplacePixels(nil, 0, 0, width, height) // The screen image doesn't have to be cleared.
return i return i
} }