From a57f3ddceb889ec67d25659d0e6e324c87231cb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20K=C3=A4fer?= Date: Mon, 6 Jul 2015 12:57:12 +0200 Subject: add basic SpriteAtlas test --- src/mbgl/geometry/sprite_atlas.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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; -- cgit v1.2.1