diff options
Diffstat (limited to 'test/text/cross_tile_symbol_index.test.cpp')
-rw-r--r-- | test/text/cross_tile_symbol_index.test.cpp | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/test/text/cross_tile_symbol_index.test.cpp b/test/text/cross_tile_symbol_index.test.cpp index a02055e70f..cb3806e656 100644 --- a/test/text/cross_tile_symbol_index.test.cpp +++ b/test/text/cross_tile_symbol_index.test.cpp @@ -16,8 +16,16 @@ SymbolInstance makeSymbolInstance(float x, float y, std::u16string key) { std::array<float, 2> variableTextOffset{{0.0f, 0.0f}}; style::SymbolPlacementType placementType = style::SymbolPlacementType::Point; - auto sharedData = std::make_shared<SymbolInstanceSharedData>( - std::move(line), shaping, nullopt, nullopt, layout_, placementType, textOffset, imageMap, false); + auto sharedData = std::make_shared<SymbolInstanceSharedData>(std::move(line), + shaping, + nullopt, + nullopt, + layout_, + placementType, + textOffset, + imageMap, + SymbolContent::IconSDF, + false); return SymbolInstance(anchor, std::move(sharedData), shaping, nullopt, nullopt, 0, 0, placementType, textOffset, 0, 0, iconOffset, subfeature, 0, 0, key, 0.0f, 0.0f, 0.0f, variableTextOffset, false); } |