fix initialization order

background: use_raster was of undefined value, so it would sometimes be true on app startup
This commit is contained in:
Konstantin Käfer
2014-04-11 16:48:49 -04:00
parent 8c9f980271
commit 5f84bc7c29

View File

@@ -81,12 +81,13 @@ private:
GlyphAtlas glyphAtlas;
Painter painter;
bool use_raster = false;
int32_t min_zoom;
int32_t max_zoom;
float pixel_ratio;
bool use_raster = false;
std::forward_list<Tile> tiles;
std::forward_list<std::weak_ptr<TileData>> tile_data;