mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-02-02 14:04:28 +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()
|
s := c.screenScale()
|
||||||
switch vd := uiDriver().Graphics().FramebufferYDirection(); vd {
|
switch vd := uiDriver().Graphics().FramebufferYDirection(); vd {
|
||||||
case driver.Upward:
|
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)
|
op.GeoM.Scale(s, -s)
|
||||||
_, h := c.offscreen.Size()
|
_, h := c.offscreen.Size()
|
||||||
op.GeoM.Translate(0, float64(h)*s)
|
op.GeoM.Translate(0, float64(h)*s)
|
||||||
|
Loading…
Reference in New Issue
Block a user