From e7537ca6033a13ff1d21aac4a61a49ef325684b6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 18 Sep 2017 18:57:19 +0300 Subject: Move imagewriter into utils directory and rename to pnglib. --- src/progs/dyecmd/dyemain.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/progs/dyecmd') diff --git a/src/progs/dyecmd/dyemain.cpp b/src/progs/dyecmd/dyemain.cpp index 234e4a600..a5e8a2a34 100644 --- a/src/progs/dyecmd/dyemain.cpp +++ b/src/progs/dyecmd/dyemain.cpp @@ -26,8 +26,6 @@ #include "fs/virtfs/fs.h" -#include "resources/imagewriter.h" - #include "resources/image/image.h" #ifdef USE_SDL2 @@ -37,6 +35,7 @@ #include "resources/loaders/imageloader.h" #include "utils/gettext.h" +#include "utils/pnglib.h" #include "utils/sdlhelper.h" #include @@ -114,7 +113,7 @@ int main(int argc, char **argv) } SDL_Surface *const surface = ImageHelper::convertTo32Bit( image->getSDLSurface()); - ImageWriter::writePNG(surface, dst); + PngLib::writePNG(surface, dst); SDL_FreeSurface(surface); VirtFs::deinit(); return 0; -- cgit v1.2.3-70-g09d2