From db965cd22d09c7c3b6d4bf153c4a20649941ce8f Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Thu, 19 Nov 2009 18:11:41 +1300 Subject: [PATCH] removing some random dead crap --- OpenRa.Game/Graphics/Renderer.cs | 14 -------------- 1 file changed, 14 deletions(-) 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); - } } }