summaryrefslogtreecommitdiff
path: root/src/mbgl/util/raster.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/util/raster.hpp')
-rw-r--r--src/mbgl/util/raster.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbgl/util/raster.hpp b/src/mbgl/util/raster.hpp
index adf3b2cbf7..5c65c46e9d 100644
--- a/src/mbgl/util/raster.hpp
+++ b/src/mbgl/util/raster.hpp
@@ -20,7 +20,7 @@ public:
~Raster();
// load image data
- bool load(std::unique_ptr<util::Image> image);
+ bool load(PremultipliedImage);
// bind current texture
void bind(bool linear = false);
@@ -58,7 +58,7 @@ private:
GLint filter = 0;
// the raw pixels
- std::unique_ptr<util::Image> img;
+ PremultipliedImage img;
};
}