{
if( !mHasBeenUpdated )
{
- //Update buffers
+ // Update buffers
if( mIndexBuffer )
{
if(!mIndexBuffer->Update( context, true ) )
return;
}
}
+
for( unsigned int i = 0; i < mVertexBuffers.Count(); ++i )
{
if( !mVertexBuffers[i]->Update( context, false ) )
return;
}
}
+
mHasBeenUpdated = true;
}