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

@@ -62,11 +62,11 @@ namespace OpenRA.Graphics
if (s.sheet != currentSheet)
Flush();
if( nv + 4 > Renderer.TempBufferSize )
if (nv + 4 > Renderer.TempBufferSize)
Flush();
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;
}