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:
Hajime Hoshi 2019-01-16 23:50:09 +09:00
parent 0b60471ac0
commit 0d84d8dccb

View File

@ -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: