Rename Platform.GameDir to Platform.EngineDir.

This commit is contained in:
Paul Chote
2020-11-21 15:23:36 +00:00
committed by teinarss
parent 72f1f06ebc
commit 1cc1f93fb0
18 changed files with 29 additions and 29 deletions

View File

@@ -32,7 +32,7 @@ namespace OpenRA.Platforms.Default
protected uint CompileShaderObject(int type, string name)
{
var ext = type == OpenGL.GL_VERTEX_SHADER ? "vert" : "frag";
var filename = Path.Combine(Platform.GameDir, "glsl", name + "." + ext);
var filename = Path.Combine(Platform.EngineDir, "glsl", name + "." + ext);
var code = File.ReadAllText(filename);
var version = OpenGL.Profile == GLProfile.Embedded ? "300 es" :