Browse Source

tags/2021-05-28
jules 18 years ago
parent
commit
daa6a58ba0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/juce_appframework/gui/graphics/imaging/image_file_formats/juce_PNGLoader.cpp

+ 1
- 1
src/juce_appframework/gui/graphics/imaging/image_file_formats/juce_PNGLoader.cpp View File

@@ -84,7 +84,7 @@ Image* juce_loadPNGImageFromStream (InputStream& in) throw()
return 0;
}
png_set_error_fn (pngReadStruct, pngErrorCallback, pngErrorCallback, pngErrorCallback);
png_set_error_fn (pngReadStruct, 0, pngErrorCallback, pngErrorCallback);
// read the header..
png_set_read_fn (pngReadStruct, &in, pngReadCallback);


Loading…
Cancel
Save