actually all compiles now

This commit is contained in:
Alli
2010-02-18 18:00:04 +13:00
parent cf8a2dd50f
commit 556cc5798d
6 changed files with 86 additions and 85 deletions

View File

@@ -62,7 +62,7 @@ namespace OpenRa.Graphics
terrainSheet = tileMapping[map.MapTiles[map.XOffset, map.YOffset]].sheet;
vertexBuffer = renderer.Device.CreateVertexBuffer<Vertex>( vertices.Length );
vertexBuffer = renderer.Device.CreateVertexBuffer( vertices.Length );
vertexBuffer.SetData( vertices );
indexBuffer = renderer.Device.CreateIndexBuffer( indices.Length );