But flush over here

This commit is contained in:
alzeih
2010-05-05 22:26:27 +12:00
parent 38a1cb89b5
commit 21a6b8abe0
2 changed files with 1 additions and 2 deletions

View File

@@ -155,7 +155,7 @@ namespace OpenRA
}
public void DrawWidgets(World world) { rootWidget.Draw(world); shpRenderer.Flush(); rgbaRenderer.Flush(); }
public void DrawWidgets(World world) { rootWidget.Draw(world); shpRenderer.Flush(); rgbaRenderer.Flush(); lineRenderer.Flush(); }
public void DrawLobby()
{

View File

@@ -55,7 +55,6 @@ namespace OpenRA.Widgets
var pos = DrawPosition();
var paletteRect = new RectangleF(pos.X + Game.viewport.Location.X, pos.Y + Game.viewport.Location.Y, Bounds.Width, Bounds.Height);
Game.chrome.lineRenderer.FillRect(paletteRect, GetColor());
Game.chrome.lineRenderer.Flush();
base.Draw(world);
}
}