fixed #899 -- OpenRA.Utility --png was missing unlock

This commit is contained in:
Chris Forbes
2011-06-25 18:20:32 +12:00
parent a3601b1214
commit cf4769979d

View File

@@ -116,6 +116,8 @@ namespace OpenRA.Utility
Marshal.Copy(frame.Image, 0, data.Scan0, frame.Image.Length);
x += srcImage.Width;
bitmap.UnlockBits( data );
}
bitmap.Save(dest);