fixed minimap corruption

This commit is contained in:
Chris Forbes
2010-02-19 18:40:28 +13:00
parent 492cb5256c
commit 85dde4ee7e

View File

@@ -135,7 +135,7 @@ namespace OpenRa.Graphics
var bitmap = new Bitmap(oreLayer);
var bitmapData = bitmap.LockBits(new Rectangle(0, 0, bitmap.Width, bitmap.Height),
ImageLockMode.WriteOnly, PixelFormat.Format32bppArgb);
ImageLockMode.ReadWrite, PixelFormat.Format32bppArgb);
unsafe
{