Compare commits

..

5 Commits

1 changed files with 6 additions and 9 deletions

View File

@ -44,15 +44,12 @@ namespace Kav
public void SetData()
{
if (InstanceCount > 0)
{
VertexBuffer.SetData(
InstanceDataArray,
0,
InstanceCount,
SetDataOptions.NoOverwrite
);
}
VertexBuffer.SetData(
InstanceDataArray,
0,
InstanceCount,
SetDataOptions.NoOverwrite
);
}
public void Clear()