summaryrefslogtreecommitdiff
path: root/src/progs
diff options
context:
space:
mode:
Diffstat (limited to 'src/progs')
-rw-r--r--src/progs/dyecmd/dyemain.cpp5
1 files changed, 2 insertions, 3 deletions
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 <iostream>
@@ -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;