diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2015-07-06 12:57:12 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2015-07-08 19:46:02 +0200 |
commit | a57f3ddceb889ec67d25659d0e6e324c87231cb4 (patch) | |
tree | c0e2f25332614d0764cf6b1af716933b7c4bb1f2 /src | |
parent | c5ed00ae7a3d82d28f6175b404e16cfffd782bbf (diff) | |
download | qtlocation-mapboxgl-a57f3ddceb889ec67d25659d0e6e324c87231cb4.tar.gz |
add basic SpriteAtlas test
Diffstat (limited to 'src')
-rw-r--r-- | src/mbgl/geometry/sprite_atlas.hpp | 1 |
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; |