Compare commits

..

5 Commits

1 changed files with 6 additions and 9 deletions

View File

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