do not use shared pointers for buffers

This commit is contained in:
Konstantin Käfer
2014-03-25 13:41:20 +01:00
parent 67b1d8df51
commit 85f0d9392b
11 changed files with 114 additions and 118 deletions

View File

@@ -17,13 +17,6 @@ TileData::TileData(Tile::ID id, const Style& style, GlyphAtlas& glyphAtlas, cons
use_retina(use_retina),
state(State::initial),
raster(),
fillVertexBuffer(std::make_shared<FillVertexBuffer>()),
lineVertexBuffer(std::make_shared<LineVertexBuffer>()),
pointVertexBuffer(std::make_shared<PointVertexBuffer>()),
textVertexBuffer(std::make_shared<TextVertexBuffer>()),
triangleElementsBuffer(std::make_shared<TriangleElementsBuffer>()),
lineElementsBuffer(std::make_shared<LineElementsBuffer>()),
pointElementsBuffer(std::make_shared<PointElementsBuffer>()),
style(style),
glyphAtlas(glyphAtlas) {