summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-06-15 17:28:47 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-06-15 17:28:47 -0700
commit7e1a9b72744d629181a6ffb0072f7eab1cb05546 (patch)
treeb92cd3d0603c5abfc5b939dabdecef3c90ece91b /src
parenta0b298211908036da269e7dcc2c78025476e2bf2 (diff)
downloadqtlocation-mapboxgl-7e1a9b72744d629181a6ffb0072f7eab1cb05546.tar.gz
[core] Update test suite; use linear interpolation for rotated icons
Diffstat (limited to 'src')
-rw-r--r--src/mbgl/renderer/symbol_bucket.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mbgl/renderer/symbol_bucket.cpp b/src/mbgl/renderer/symbol_bucket.cpp
index 496745dda1..d853265861 100644
--- a/src/mbgl/renderer/symbol_bucket.cpp
+++ b/src/mbgl/renderer/symbol_bucket.cpp
@@ -282,6 +282,8 @@ void SymbolBucket::addFeatures(uintptr_t tileUID,
}
if ((*image).relativePixelRatio != 1.0f) {
iconsNeedLinear = true;
+ } else if (layout.iconRotate != 0) {
+ iconsNeedLinear = true;
}
}
}