Fix compilation on mono 2.10.

This commit is contained in:
Paul Chote
2015-01-19 08:56:18 +13:00
parent 65973f4af5
commit 4a73c88a85

View File

@@ -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)
{