summaryrefslogtreecommitdiff
path: root/include/mbgl/util/image.hpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-10-29 19:58:34 -0400
committerKonstantin Käfer <mail@kkaefer.com>2014-10-30 12:02:28 -0400
commite3bc69b7e77aa6771c8db3695f12548447e1de51 (patch)
tree0c1a0bde928fea3e09b1d72222b400176c0936c7 /include/mbgl/util/image.hpp
parent7a13db9a863c9be58709e941f44eb2c370276e2a (diff)
downloadqtlocation-mapboxgl-e3bc69b7e77aa6771c8db3695f12548447e1de51.tar.gz
use CoreImage for decoding/encoding images on osx/ios
Diffstat (limited to 'include/mbgl/util/image.hpp')
-rw-r--r--include/mbgl/util/image.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mbgl/util/image.hpp b/include/mbgl/util/image.hpp
index cb7db6d6fc..b2f70e1442 100644
--- a/include/mbgl/util/image.hpp
+++ b/include/mbgl/util/image.hpp
@@ -7,12 +7,12 @@
namespace mbgl {
namespace util {
-std::string compress_png(int width, int height, void *rgba, bool flip = false);
+std::string compress_png(int width, int height, void *rgba);
class Image {
public:
- Image(const std::string &img, bool flip = false);
+ Image(const std::string &img);
inline const char *getData() const { return img.get(); }
inline uint32_t getWidth() const { return width; }