beginnings of removing rampant ../../../ from sources

git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1318 993157c7-ee19-0410-b2c4-bb4e9862e678
This commit is contained in:
(no author)
2007-07-21 04:16:15 +00:00
parent c331e190a7
commit dde1852b12
11 changed files with 64 additions and 30 deletions

View File

@@ -28,7 +28,7 @@ namespace OpenRa.Game
device = GraphicsDevice.Create(host,
resolution.Width, resolution.Height, windowed, false);
shader = new Effect(device, File.OpenRead("../../../" + shaderName));
shader = new Effect(device, FileSystem.Open(shaderName));
shader.Quality = ShaderQuality.Low;
baseTextureHandle = shader.GetHandle("DiffuseTexture");