mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 03:38:55 +01:00
graphics: Remove unneeded 'Clear' on the screen framebuffer
This commit is contained in:
parent
d523229d9f
commit
dcb05fb9ad
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user