Use antialiasing filter when rendering world annotations.
This commit is contained in:
@@ -250,8 +250,10 @@ namespace OpenRA.Graphics
|
|||||||
|
|
||||||
public void DrawAnnotations()
|
public void DrawAnnotations()
|
||||||
{
|
{
|
||||||
|
Game.Renderer.EnableAntialiasingFilter();
|
||||||
for (var i = 0; i < preparedAnnotationRenderables.Count; i++)
|
for (var i = 0; i < preparedAnnotationRenderables.Count; i++)
|
||||||
preparedAnnotationRenderables[i].Render(this);
|
preparedAnnotationRenderables[i].Render(this);
|
||||||
|
Game.Renderer.DisableAntialiasingFilter();
|
||||||
|
|
||||||
// Engine debugging overlays
|
// Engine debugging overlays
|
||||||
if (debugVis.Value != null && debugVis.Value.RenderGeometry)
|
if (debugVis.Value != null && debugVis.Value.RenderGeometry)
|
||||||
|
|||||||
Reference in New Issue
Block a user