diff --git a/include/CVertexBuffer.h b/include/CVertexBuffer.h index 5494b97..9b891f9 100644 --- a/include/CVertexBuffer.h +++ b/include/CVertexBuffer.h @@ -98,18 +98,18 @@ namespace scene CVertexBuffer(video::E_VERTEX_TYPE vertexType) : Vertices(0), MappingHint(EHM_NEVER), ChangedID(1) { - setType(vertexType); + CVertexBuffer::setType(vertexType); } CVertexBuffer(const IVertexBuffer &VertexBufferCopy) : Vertices(0), MappingHint(EHM_NEVER), ChangedID(1) { - setType(VertexBufferCopy.getType()); - reallocate(VertexBufferCopy.size()); + CVertexBuffer::setType(VertexBufferCopy.getType()); + CVertexBuffer::reallocate(VertexBufferCopy.size()); for (u32 n=0;n