what a hack, but the cursors work and the terrain doesnt break anymore

This commit is contained in:
Chris Forbes
2009-10-15 19:15:40 +13:00
parent b2f1d2aa88
commit 9a9452c3fa
8 changed files with 48 additions and 6 deletions

View File

@@ -25,6 +25,12 @@ namespace OpenRa.Game.Graphics
return Add(data, size);
}
public static void ForceNewSheet()
{
current = NewSheet();
channel = NextChannel(null);
}
static Sheet NewSheet() { return new Sheet(renderer, new Size(512, 512)); }
static Renderer renderer;