mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
graphics: Refactoring: No need to call ResetViewportSize
This commit is contained in:
parent
93f052de8c
commit
f29ff4a9e2
@ -71,7 +71,6 @@ func (c *graphicsContext) SetSize(screenWidth, screenHeight int, screenScale flo
|
||||
c.offscreen = offscreen
|
||||
c.offscreen2 = offscreen2
|
||||
c.screenScale = screenScale
|
||||
ui.GLContext().ResetViewportSize()
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user