diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2017-02-24 16:03:31 +0100 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2017-02-27 16:51:17 -0800 |
commit | 9ca9adf69c4ad1d946af611c3d08800e0e301fb8 (patch) | |
tree | df70792e808ce57e0154f4a253a6a40dbb91b50d /test/api/custom_layer.test.cpp | |
parent | e3500c1f791be82d64b50c7fa80b29b4e3c8a031 (diff) | |
download | qtlocation-mapboxgl-9ca9adf69c4ad1d946af611c3d08800e0e301fb8.tar.gz |
[core] private OffscreenView implementation
Diffstat (limited to 'test/api/custom_layer.test.cpp')
-rw-r--r-- | test/api/custom_layer.test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/api/custom_layer.test.cpp b/test/api/custom_layer.test.cpp index 73b4e94af5..dd56197463 100644 --- a/test/api/custom_layer.test.cpp +++ b/test/api/custom_layer.test.cpp @@ -97,7 +97,7 @@ TEST(CustomLayer, Basic) { ThreadPool threadPool(4); - Map map(backend, view.size, 1, fileSource, threadPool, MapMode::Still); + Map map(backend, view.getSize(), 1, fileSource, threadPool, MapMode::Still); map.setStyleJSON(util::read_file("test/fixtures/api/water.json")); map.setLatLngZoom({ 37.8, -122.5 }, 10); map.addLayer(std::make_unique<CustomLayer>( |