summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2015-07-06 12:57:12 +0200
committerKonstantin Käfer <mail@kkaefer.com>2015-07-08 19:46:02 +0200
commita57f3ddceb889ec67d25659d0e6e324c87231cb4 (patch)
treec0e2f25332614d0764cf6b1af716933b7c4bb1f2 /src
parentc5ed00ae7a3d82d28f6175b404e16cfffd782bbf (diff)
downloadqtlocation-mapboxgl-a57f3ddceb889ec67d25659d0e6e324c87231cb4.tar.gz
add basic SpriteAtlas test
Diffstat (limited to 'src')
-rw-r--r--src/mbgl/geometry/sprite_atlas.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mbgl/geometry/sprite_atlas.hpp b/src/mbgl/geometry/sprite_atlas.hpp
index e9653f6faa..88e532f5f0 100644
--- a/src/mbgl/geometry/sprite_atlas.hpp
+++ b/src/mbgl/geometry/sprite_atlas.hpp
@@ -66,6 +66,7 @@ public:
inline float getTextureWidth() const { return width * pixelRatio; }
inline float getTextureHeight() const { return height * pixelRatio; }
inline float getPixelRatio() const { return pixelRatio; }
+ inline const uint32_t* getData() const { return data.get(); }
const dimension width = 0;
const dimension height = 0;