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
This commit is contained in:
Konstantin Käfer
2015-03-16 19:30:08 +01:00
parent 0b1faba369
commit 48c55af5c1
19 changed files with 283 additions and 61 deletions

View File

@@ -31,6 +31,9 @@ if [[ ${TRAVIS_OS_NAME} == "linux" ]]; then
x11proto-xf86vidmode-dev libxxf86vm-dev \
libxcursor-dev libxinerama-dev \
llvm-3.4 # required for mesa
mapbox_time "install_mesa" \
mason install mesa 10.4.3
fi
mapbox_time "install_awscli" \