From 4a73c88a8579c2ad356ec5852eb01e4f014cf7b9 Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Mon, 19 Jan 2015 08:56:18 +1300 Subject: [PATCH] Fix compilation on mono 2.10. --- OpenRA.Game/Graphics/Vertex.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/OpenRA.Game/Graphics/Vertex.cs b/OpenRA.Game/Graphics/Vertex.cs index 680f2da703..67acc0f49b 100644 --- a/OpenRA.Game/Graphics/Vertex.cs +++ b/OpenRA.Game/Graphics/Vertex.cs @@ -15,8 +15,11 @@ namespace OpenRA.Graphics [StructLayout(LayoutKind.Sequential)] public struct Vertex { + // TODO Workaround for unused field warnings in mono 2.10 + #pragma warning disable 414 float x, y, z, u, v; float p, c; + #pragma warning restore public Vertex(float2 xy, float u, float v, float p, float c) {