mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
ebiten: Remove a redundant comment
This commit is contained in:
parent
274245e39c
commit
697835a313
@ -309,8 +309,6 @@ func (c *uiContext) draw() {
|
||||
s := c.screenScale()
|
||||
switch vd := uiDriver().Graphics().FramebufferYDirection(); vd {
|
||||
case driver.Upward:
|
||||
// c.screen is special: its Y axis is down to up,
|
||||
// and the origin point is lower left.
|
||||
op.GeoM.Scale(s, -s)
|
||||
_, h := c.offscreen.Size()
|
||||
op.GeoM.Translate(0, float64(h)*s)
|
||||
|
Loading…
Reference in New Issue
Block a user