Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Diff of /branches/Axiom_Upgrade_0.8.0/mvsm/Tree.cs [r286] .. [r287] Maximize Restore

  Switch to side-by-side view

--- a/branches/Axiom_Upgrade_0.8.0/mvsm/Tree.cs
+++ b/branches/Axiom_Upgrade_0.8.0/mvsm/Tree.cs
@@ -140,7 +140,8 @@
 
             // create the hardware vertex buffer and set up the buffer binding
             HardwareVertexBuffer hvBuffer = HardwareBufferManager.Instance.CreateVertexBuffer(
-                vertexData.vertexDeclaration.GetVertexSize(0), vertexData.vertexCount,
+                vertexData.vertexDeclaration, vertexData.vertexCount,
+                //vertexData.vertexDeclaration.GetVertexSize(0), vertexData.vertexCount,
                 BufferUsage.DynamicWriteOnly, false);
 
             vertexData.vertexBufferBinding.SetBinding(0, hvBuffer);