diff --git a/OpenRa.Game/Graphics/Renderer.cs b/OpenRa.Game/Graphics/Renderer.cs index 7b09588d4f..35b62a2202 100644 --- a/OpenRa.Game/Graphics/Renderer.cs +++ b/OpenRa.Game/Graphics/Renderer.cs @@ -105,19 +105,5 @@ namespace OpenRa.Game.Graphics { return new int2(fhDebug.MeasureText(sh, text)); } - - public void DrawTexture(Texture t, int2 pos) - { - sh.Begin(); - sh.SetTransform(1,1, pos.X, pos.Y); - sh.Draw(t, 0, 0, 256,256, -1); - sh.End(); - } - - public Texture LoadTexture(string filename) - { - using (var stream = FileSystem.Open(filename)) - return Texture.Create(stream, device); - } } }