Geometry class deletes its vertex buffer and index buffer in the destructor. The TerrainPatch resets the index buffer before deleting the geometry since it is shared by all patches (the index buffer is deleted in the destructor of the Terrain class).
Renderer::RenderText now accepts a projection matrix instead of a Camera