diff options
Diffstat (limited to 'include/mbgl/util/raster.hpp')
-rw-r--r-- | include/mbgl/util/raster.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mbgl/util/raster.hpp b/include/mbgl/util/raster.hpp index 7051c30091..d74c78f714 100644 --- a/include/mbgl/util/raster.hpp +++ b/include/mbgl/util/raster.hpp @@ -17,7 +17,7 @@ namespace mbgl { class Raster : public std::enable_shared_from_this<Raster> { public: - Raster(const util::ptr<Texturepool> &texturepool); + Raster(Texturepool&); ~Raster(); // load image data @@ -57,7 +57,7 @@ private: bool loaded = false; // shared texture pool - util::ptr<Texturepool> texturepool; + Texturepool& texturepool; // min/mag filter uint32_t filter = 0; |