Added renderer selection to Windows launcher.

This commit is contained in:
Matthew Bowra-Dean
2010-11-29 23:23:53 +13:00
committed by Paul Chote
parent 7e25b6e58e
commit 564a4598b9
3 changed files with 49 additions and 3 deletions

View File

@@ -58,6 +58,7 @@ namespace OpenRA.Launcher
Process p = new Process();
p.StartInfo.FileName = "OpenRA.Game.exe";
p.StartInfo.Arguments = "Game.Mods=" + string.Join(",", modList.ToArray());
p.StartInfo.Arguments += " Graphics.Renderer=" + Launcher.Renderer;
p.Start();
return true;
}