diff options
author | Lode <lvandeve@gmail.com> | 2014-11-18 00:15:08 +0100 |
---|---|---|
committer | Lode <lvandeve@gmail.com> | 2014-11-18 00:15:08 +0100 |
commit | c7353101cea671073ba1a9f4ca9f4cf7e8dbc944 (patch) | |
tree | 75b67fa837c2830da5f9585a1500db10af5e9aca /pngdetail.cpp | |
parent | ba3e407470cf9f159adbdf189409b2fed6f1dace (diff) |
fix pngdetail.cpp
Diffstat (limited to 'pngdetail.cpp')
-rw-r--r-- | pngdetail.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/pngdetail.cpp b/pngdetail.cpp index 71e7aaf..b876f71 100644 --- a/pngdetail.cpp +++ b/pngdetail.cpp @@ -338,7 +338,6 @@ void displayPalette(const std::vector<unsigned char>& buffer) std::vector<unsigned char> out; state.decoder.color_convert = 0; - state.decoder.fix_png = 1; lodepng::decode(out, w, h, state, buffer); @@ -386,7 +385,6 @@ void displayPalettePixels(const std::vector<unsigned char>& buffer) std::vector<unsigned char> out; state.decoder.color_convert = 0; - state.decoder.fix_png = 1; lodepng::decode(out, w, h, state, buffer); |