fixed #899 -- OpenRA.Utility --png was missing unlock
This commit is contained in:
@@ -116,6 +116,8 @@ namespace OpenRA.Utility
|
|||||||
|
|
||||||
Marshal.Copy(frame.Image, 0, data.Scan0, frame.Image.Length);
|
Marshal.Copy(frame.Image, 0, data.Scan0, frame.Image.Length);
|
||||||
x += srcImage.Width;
|
x += srcImage.Width;
|
||||||
|
|
||||||
|
bitmap.UnlockBits( data );
|
||||||
}
|
}
|
||||||
|
|
||||||
bitmap.Save(dest);
|
bitmap.Save(dest);
|
||||||
|
|||||||
Reference in New Issue
Block a user