graphics: Remove unneeded 'Clear' on the screen framebuffer

This commit is contained in:
Hajime Hoshi 2018-03-05 10:53:09 +09:00
parent d523229d9f
commit dcb05fb9ad

View File

@ -60,7 +60,6 @@ func (c *graphicsContext) SetSize(screenWidth, screenHeight int, screenScale flo
h := int(float64(screenHeight) * screenScale)
px0, py0, _, _ := ui.ScreenPadding()
c.screen = newImageWithScreenFramebuffer(w, h)
_ = c.screen.Clear()
c.offscreen = offscreen