Use antialiasing filter when rendering world annotations.

This commit is contained in:
Paul Chote
2020-01-26 17:42:29 +00:00
committed by abcdefg30
parent 1bc6fb0f46
commit 84daf890d3

View File

@@ -250,8 +250,10 @@ namespace OpenRA.Graphics
public void DrawAnnotations()
{
Game.Renderer.EnableAntialiasingFilter();
for (var i = 0; i < preparedAnnotationRenderables.Count; i++)
preparedAnnotationRenderables[i].Render(this);
Game.Renderer.DisableAntialiasingFilter();
// Engine debugging overlays
if (debugVis.Value != null && debugVis.Value.RenderGeometry)