diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2015-02-03 20:15:58 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2015-02-03 20:15:58 +0100 |
commit | 4d9f29afaba5f0eddf34ac73614b36fabd0d5353 (patch) | |
tree | 1e3129a5a24c7f2f0969eb37c602f193f2a9f09f /src/PNG.cpp | |
parent | 0162c236faa324b94ac61c9680c2a88e1915f0cc (diff) | |
download | MinedMap-4d9f29afaba5f0eddf34ac73614b36fabd0d5353.tar MinedMap-4d9f29afaba5f0eddf34ac73614b36fabd0d5353.zip |
Add mipmap support to allow zooming out
Diffstat (limited to 'src/PNG.cpp')
-rw-r--r-- | src/PNG.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PNG.cpp b/src/PNG.cpp index 9edf88c..f56c870 100644 --- a/src/PNG.cpp +++ b/src/PNG.cpp @@ -147,7 +147,7 @@ void mipmap(const char *output, size_t width, size_t height, bool colored, const readScaled(data, 0, height/2, sw, width, height, colored); readScaled(data, width/2, height/2, se, width, height, colored); - write(output, data, width, height, true); + write(output, data, width, height, colored); } } |