changed image resource draft.

This commit is contained in:
morkt 2015-10-25 15:24:05 +04:00
parent 83b61f6d50
commit 1ea054050c

View File

@ -37,9 +37,7 @@ namespace GameRes.Formats.??????
public override ImageData Read (Stream stream, ImageMetaData info)
{
var meta = info as xxxMetaData;
if (null == meta)
throw new ArgumentException ("xxxFormat.Read should be supplied with xxxMetaData", "info");
var meta = (xxxMetaData)info;
return ImageData.Create (info, format, palette, pixels);
}