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);

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks