summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-04-10 18:22:57 +0000
committerManolo Gouy <Manolo>2016-04-10 18:22:57 +0000
commitc3f1877fd111d9d708ef03470e6723d7ce2e24a1 (patch)
tree23ea1db3bde3df90f99b4e5929133081255416b7 /FL
parentf9369a74ef156d01e678111fb0de475c1cde98eb (diff)
Remove platform-dependent code from Fl_PNG_Image.cxx
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11574 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_System_Driver.H2
1 files changed, 2 insertions, 0 deletions
diff --git a/FL/Fl_System_Driver.H b/FL/Fl_System_Driver.H
index 2f52f10ba..5073be7ec 100644
--- a/FL/Fl_System_Driver.H
+++ b/FL/Fl_System_Driver.H
@@ -145,6 +145,8 @@ public:
virtual int preferences_need_protection_check() {return 0;}
// implement to support Fl_Plugin_Manager::load()
virtual void *dlopen(const char *filename) {return NULL;}
+ // the default implementation is most probably enough
+ virtual void png_extra_rgba_processing(unsigned char *array, int w, int h) {}
};
#endif // FL_SYSTEM_DRIVER_H