Fixed compilation issue

This commit is contained in:
r.kuznetsov 2015-03-20 11:34:05 +03:00
parent eaa5824b1b
commit 39f6d34073

View file

@ -188,7 +188,7 @@ bool VertexArrayBuffer::IsFilled() const
void VertexArrayBuffer::UploadIndexes(uint16_t const * data, uint16_t count)
{
ASSERT(count <= m_indexBuffer->GetAvailableSize(), ());
ASSERT(count <= m_indexBuffer->GetBuffer()->GetAvailableSize(), ());
m_indexBuffer->UploadData(data, count);
}