diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-05-11 14:10:17 +0300 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-05-11 15:48:51 +0300 |
commit | c13dd32242b559b00b0b716dc524ed5161c2b147 (patch) | |
tree | 96c83728499b7317c8a6d087d38016b9a2e55644 /test/style | |
parent | 659c2568ece4153f34d2880e53f54351f51b0917 (diff) | |
download | qtlocation-mapboxgl-c13dd32242b559b00b0b716dc524ed5161c2b147.tar.gz |
[core] Added Viewport mode
Satisfies embedding platforms that requires the viewport coordinate
systems to be set according to its standards e.g. viewport mirrored
vertically.
Diffstat (limited to 'test/style')
-rw-r--r-- | test/style/source.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/style/source.cpp b/test/style/source.cpp index b520fcb6fd..156aff71ad 100644 --- a/test/style/source.cpp +++ b/test/style/source.cpp @@ -25,7 +25,7 @@ public: StubFileSource fileSource; StubStyleObserver observer; MockView view; - Transform transform { view, ConstrainMode::HeightOnly }; + Transform transform { view, ConstrainMode::HeightOnly, ViewportMode::Default }; TransformState transformState; Worker worker { 1 }; gl::TexturePool texturePool; |