diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2016-06-15 17:28:47 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2016-06-15 17:28:47 -0700 |
commit | 7e1a9b72744d629181a6ffb0072f7eab1cb05546 (patch) | |
tree | b92cd3d0603c5abfc5b939dabdecef3c90ece91b /src | |
parent | a0b298211908036da269e7dcc2c78025476e2bf2 (diff) | |
download | qtlocation-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.cpp | 2 |
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; } } } |