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:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user