Use antialiasing filter when rendering UI icons and actors.

This commit is contained in:
Paul Chote
2019-12-25 16:44:50 +00:00
committed by abcdefg30
parent 1f849e9f7d
commit 1bc6fb0f46
7 changed files with 81 additions and 25 deletions

View File

@@ -74,8 +74,10 @@ namespace OpenRA.Mods.Common.Widgets
public override void Draw()
{
Game.Renderer.EnableAntialiasingFilter();
foreach (var r in renderables)
r.Render(worldRenderer);
Game.Renderer.DisableAntialiasingFilter();
}
public override void Tick()