Rename uniform setters to avoid future ambiguity.
This commit is contained in:
@@ -89,10 +89,10 @@ namespace OpenRA.Graphics
|
||||
|
||||
void SetShaderParams(IShader s, float2 r1, float2 r2, float2 scroll)
|
||||
{
|
||||
s.SetValue("Palette", PaletteTexture);
|
||||
s.SetValue("Scroll", (int)scroll.X, (int)scroll.Y);
|
||||
s.SetValue("r1", r1.X, r1.Y);
|
||||
s.SetValue("r2", r2.X, r2.Y);
|
||||
s.SetTexture("Palette", PaletteTexture);
|
||||
s.SetVec("Scroll", (int)scroll.X, (int)scroll.Y);
|
||||
s.SetVec("r1", r1.X, r1.Y);
|
||||
s.SetVec("r2", r2.X, r2.Y);
|
||||
}
|
||||
|
||||
public void EndFrame(IInputHandler inputHandler)
|
||||
|
||||
Reference in New Issue
Block a user