summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_PNG_Image.H4
1 files changed, 2 insertions, 2 deletions
diff --git a/FL/Fl_PNG_Image.H b/FL/Fl_PNG_Image.H
index 21a01d16b..f0910a515 100644
--- a/FL/Fl_PNG_Image.H
+++ b/FL/Fl_PNG_Image.H
@@ -39,8 +39,8 @@ private:
// Support functions to write PNG image files (since 1.4.0)
-FL_EXPORT int fl_write_png(const char *filename, int w, int h, int d, const unsigned char *pixels);
-
FL_EXPORT int fl_write_png(const char *filename, Fl_RGB_Image *img);
+FL_EXPORT int fl_write_png(const char *filename, const char *pixels, int w, int h, int d=3, int ld=0);
+FL_EXPORT int fl_write_png(const char *filename, const unsigned char *pixels, int w, int h, int d=3, int ld=0);
#endif