add --shp and --png commands to util
This commit is contained in:
@@ -24,7 +24,8 @@ namespace OpenRA.FileFormats.Graphics
|
||||
{
|
||||
public static Bitmap Load(string filename)
|
||||
{
|
||||
return Load(File.OpenRead(filename));
|
||||
using (var s = File.OpenRead(filename))
|
||||
return Load(s);
|
||||
}
|
||||
|
||||
public static Bitmap Load(Stream s)
|
||||
|
||||
Reference in New Issue
Block a user