summaryrefslogtreecommitdiff
path: root/test/api
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2016-11-01 01:18:20 +0200
committerBruno de Oliveira Abinader <bruno@mapbox.com>2016-11-01 17:44:34 +0200
commite2981c890e9a758c4dee703fa9e25e5d9eff65ce (patch)
treeb6c8ec431c1d56965b07412e0fcbfdc3a3f01fd1 /test/api
parentbb6e39a1cfcbd5c478c4b221f723ba948d576e61 (diff)
downloadqtlocation-mapboxgl-e2981c890e9a758c4dee703fa9e25e5d9eff65ce.tar.gz
Revert "[core] Don't use GL_LINEAR if panning w/o rotation nor pitch"
This reverts commit a70bfd89108cf1aef75181819ae43e550a69255e.
Diffstat (limited to 'test/api')
-rw-r--r--test/api/annotations.test.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/test/api/annotations.test.cpp b/test/api/annotations.test.cpp
index be71ba85c9..06a0a61b0a 100644
--- a/test/api/annotations.test.cpp
+++ b/test/api/annotations.test.cpp
@@ -49,7 +49,6 @@ TEST(Annotations, SymbolAnnotation) {
auto screenBox = ScreenBox { {}, { double(size.width), double(size.height) } };
auto features = test.map.queryPointAnnotations(screenBox);
EXPECT_EQ(features.size(), 1u);
- test.checkRendering("point_annotation");
test.map.setZoom(test.map.getMaxZoom());
test.checkRendering("point_annotation");
@@ -58,21 +57,6 @@ TEST(Annotations, SymbolAnnotation) {
EXPECT_EQ(features.size(), 1u);
}
-TEST(Annotations, SymbolLinearInterpolation)
-{
- AnnotationTest test;
-
- test.map.setStyleJSON(util::read_file("test/fixtures/api/empty.json"));
- test.map.addAnnotationIcon("default_marker", namedMarker("default_marker.png"));
- test.map.addAnnotation(SymbolAnnotation { Point<double>(0.15, 0.15), "default_marker" });
- test.checkRendering("point_annotation");
-
- // Should not trigger GL_LINEAR when binding the symbol shader.
- test.map.setGestureInProgress(true);
- test.map.moveBy({});
- test.checkRendering("point_annotation");
-}
-
TEST(Annotations, LineAnnotation) {
AnnotationTest test;