Change renderables to class to avoid boxing
This commit is contained in:
@@ -15,7 +15,7 @@ using OpenRA.Primitives;
|
||||
|
||||
namespace OpenRA.Mods.Common.Graphics
|
||||
{
|
||||
public struct PolygonAnnotationRenderable : IRenderable, IFinalizedRenderable
|
||||
public class PolygonAnnotationRenderable : IRenderable, IFinalizedRenderable
|
||||
{
|
||||
readonly WPos[] vertices;
|
||||
readonly WPos effectivePos;
|
||||
|
||||
Reference in New Issue
Block a user