fix artifacts from screen shake

This commit is contained in:
Chris Forbes
2010-03-16 20:41:10 +13:00
parent 4231298f38
commit 32b0ea7968

View File

@@ -68,7 +68,7 @@ namespace OpenRA.Graphics
float2 r1 = new float2(2, -2) / screenSize;
float2 r2 = new float2(-1, 1);
renderer.BeginFrame(r1, r2, scrollPosition);
renderer.BeginFrame(r1, r2, scrollPosition.ToInt2());
if( Game.orderManager.GameStarted )
{