mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
Revert: graphics: Use an even number for screen height offset
This reverts a82201cfe8
.
I think this change does not make sense.
This commit is contained in:
parent
0b60471ac0
commit
0d84d8dccb
@ -124,8 +124,7 @@ func (c *graphicsContext) Update(afterFrameUpdate func()) error {
|
||||
// c.screen is special: its Y axis is down to up,
|
||||
// and the origin point is lower left.
|
||||
op.GeoM.Scale(c.screenScale, -c.screenScale)
|
||||
// Make the screen height an even number to fit the upper side of the screen (#662).
|
||||
op.GeoM.Translate(0, float64((c.screenHeight+1)/2*2))
|
||||
op.GeoM.Translate(0, float64(c.screenHeight))
|
||||
case graphicsdriver.VUpward:
|
||||
op.GeoM.Scale(c.screenScale, c.screenScale)
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user