Change renderables to class to avoid boxing
This commit is contained in:
@@ -15,7 +15,7 @@ using OpenRA.Widgets;
|
||||
|
||||
namespace OpenRA.Mods.Common.Graphics
|
||||
{
|
||||
public struct TextAnnotationRenderable : IRenderable, IFinalizedRenderable
|
||||
public class TextAnnotationRenderable : IRenderable, IFinalizedRenderable
|
||||
{
|
||||
readonly SpriteFont font;
|
||||
readonly WPos pos;
|
||||
|
||||
Reference in New Issue
Block a user