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

@@ -70,7 +70,7 @@ namespace OpenRA.Mods.Common.LoadScreens
var text = messages.Random(Game.CosmeticRandom);
var textSize = r.Fonts["Bold"].Measure(text);
r.BeginFrame(int2.Zero, 1f);
r.BeginUI();
if (stripe != null)
WidgetUtils.FillRectWithSprite(stripeRect, stripe);