Change Shader.Render to Shader.PrepareRender.

Instead of running the shader operation as an action, just run it after the shader is prepared.
This commit is contained in:
RoosterDragon
2018-04-26 21:18:14 +01:00
committed by Paul Chote
parent 95ac1aa5b2
commit 8ec90525e3
4 changed files with 8 additions and 9 deletions

View File

@@ -89,7 +89,7 @@ namespace OpenRA
void SetVec(string name, float[] vec, int length);
void SetTexture(string param, ITexture texture);
void SetMatrix(string param, float[] mtx);
void Render(Action a);
void PrepareRender();
}
public enum TextureScaleFilter { Nearest, Linear }