Remove System.Bitmap from badge and mod icons.

This commit is contained in:
Paul Chote
2018-12-22 08:41:10 +00:00
parent f65a777366
commit 84e965835b
6 changed files with 6 additions and 82 deletions

View File

@@ -76,14 +76,6 @@ namespace OpenRA.Graphics
return rect;
}
public Sprite Add(Bitmap src)
{
var rect = Allocate(src.Size);
Util.FastCopyIntoSprite(rect, src);
current.CommitBufferedData();
return rect;
}
public Sprite Add(Png src)
{
var rect = Allocate(new Size(src.Width, src.Height));