diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2015-03-16 19:30:08 +0100 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2015-03-17 12:30:40 +0100 |
commit | 48c55af5c1d39e9a29cdb2e0c8203e6767f76c57 (patch) | |
tree | b81115238586a172be3acc487822cd27f12efe79 /test/test.gyp | |
parent | 0b1faba36920be2c9343c912b4817448f5659f71 (diff) | |
download | qtlocation-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.gyp | 1 |
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', |