summaryrefslogtreecommitdiff
path: root/test/test.gyp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2015-03-16 19:30:08 +0100
committerKonstantin Käfer <mail@kkaefer.com>2015-03-17 12:30:40 +0100
commit48c55af5c1d39e9a29cdb2e0c8203e6767f76c57 (patch)
treeb81115238586a172be3acc487822cd27f12efe79 /test/test.gyp
parent0b1faba36920be2c9343c912b4817448f5659f71 (diff)
downloadqtlocation-mapboxgl-48c55af5c1d39e9a29cdb2e0c8203e6767f76c57.tar.gz
fix sprites for pixel ratios that are not 1 and 2
- OpenGL ES 2 doesn't allow NPOT textures with wrap-around - The Sprite object reported the map's pixelRatio, even though it loaded @2x assets - Copying icons from the sprite into the atlas now uses bilinear scaling to scale up to the actual size
Diffstat (limited to 'test/test.gyp')
-rw-r--r--test/test.gyp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test.gyp b/test/test.gyp
index 719207a02e..c333a40064 100644
--- a/test/test.gyp
+++ b/test/test.gyp
@@ -38,6 +38,7 @@
'headless/headless.cpp',
'miscellaneous/clip_ids.cpp',
+ 'miscellaneous/bilinear.cpp',
'miscellaneous/comparisons.cpp',
'miscellaneous/enums.cpp',
'miscellaneous/functions.cpp',