Remove nearest-int position rounding from SpriteRenderer.

The things that want to be rounded already do this
much earlier (wr.ScreenPxPosition, etc).
This commit is contained in:
Paul Chote
2013-06-13 02:23:17 +12:00
parent 7d09e78655
commit 18311be3ae

View File

@@ -66,7 +66,7 @@ namespace OpenRA.Graphics
Flush(); Flush();
currentSheet = s.sheet; currentSheet = s.sheet;
Util.FastCreateQuad(vertices, (location + s.offset).ToInt2(), s, paletteIndex, nv, size); Util.FastCreateQuad(vertices, location + s.offset, s, paletteIndex, nv, size);
nv += 4; nv += 4;
} }