diff options
Diffstat (limited to 'bin/render.cpp')
-rw-r--r-- | bin/render.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/render.cpp b/bin/render.cpp index 6ceb32eb00..4b15ced9a9 100644 --- a/bin/render.cpp +++ b/bin/render.cpp @@ -101,7 +101,7 @@ int main(int argc, char *argv[]) { try { std::ofstream out(output, std::ios::binary); - out << encodePNG(frontend.render(map)); + out << *encodePNG(frontend.render(map)).uncompressedData(); out.close(); } catch(std::exception& e) { std::cout << "Error: " << e.what() << std::endl; |