Introduce World and UI rendering phases.

This commit is contained in:
Paul Chote
2019-11-03 15:48:36 +00:00
committed by reaperrr
parent ebd1557523
commit e7de7b4c05
6 changed files with 48 additions and 26 deletions

View File

@@ -43,7 +43,7 @@ namespace OpenRA.Mods.Common.LoadScreens
if (r == null)
return;
r.BeginFrame(int2.Zero, 1f);
r.BeginUI();
WidgetUtils.FillRectWithSprite(bounds, sprite);
r.EndFrame(new NullInputHandler());
}