Remove redundant zoom parameter.

This commit is contained in:
Paul Chote
2019-11-03 20:31:28 +00:00
committed by reaperrr
parent 327866ffc3
commit 8c41e6a3f7
3 changed files with 10 additions and 10 deletions

View File

@@ -64,10 +64,10 @@ namespace OpenRA.Graphics
shader.SetTexture("Palette", palette);
}
public void SetViewportParams(Size screen, float zoom, int2 scroll)
public void SetViewportParams(Size screen, int2 scroll)
{
var a = 2f / renderer.SheetSize;
var view = new float[]
var view = new[]
{
a, 0, 0, 0,
0, -a, 0, 0,