Compare commits

..

5 Commits

1 changed files with 6 additions and 9 deletions

View File

@ -43,8 +43,6 @@ namespace Kav
} }
public void SetData() public void SetData()
{
if (InstanceCount > 0)
{ {
VertexBuffer.SetData( VertexBuffer.SetData(
InstanceDataArray, InstanceDataArray,
@ -53,7 +51,6 @@ namespace Kav
SetDataOptions.NoOverwrite SetDataOptions.NoOverwrite
); );
} }
}
public void Clear() public void Clear()
{ {