mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-12 12:08:58 +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.offscreen = offscreen
|
||||||
c.offscreen2 = offscreen2
|
c.offscreen2 = offscreen2
|
||||||
c.screenScale = screenScale
|
c.screenScale = screenScale
|
||||||
ui.GLContext().ResetViewportSize()
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user