summaryrefslogtreecommitdiff
path: root/FL/Fl_Graphics_Driver.H
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2018-04-13 13:22:15 +0000
committerManolo Gouy <Manolo>2018-04-13 13:22:15 +0000
commit2abe8bd413f97da1beb5c144e1a1f6cb3db25290 (patch)
tree6ec8ad0471f4fde2a475a555a5823be6c592a0bc /FL/Fl_Graphics_Driver.H
parente440b8859f84b65517e016b5b623d09f99289ab9 (diff)
Homogenise and simplify the API of Fl_Graphics_Driver::cache(image-type *) virtual member functions.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12833 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Graphics_Driver.H')
-rw-r--r--FL/Fl_Graphics_Driver.H6
1 files changed, 3 insertions, 3 deletions
diff --git a/FL/Fl_Graphics_Driver.H b/FL/Fl_Graphics_Driver.H
index f5f9b60a6..05398c4c3 100644
--- a/FL/Fl_Graphics_Driver.H
+++ b/FL/Fl_Graphics_Driver.H
@@ -169,11 +169,11 @@ protected:
matrix *fl_matrix; /**< Points to the current coordinate transformation matrix */
virtual void global_gc();
/** Support function for Fl_Pixmap drawing */
- virtual fl_uintptr_t cache(Fl_Pixmap *img) { return 0; }
+ virtual void cache(Fl_Pixmap *img) { }
/** Support function for Fl_Bitmap drawing */
- virtual fl_uintptr_t cache(Fl_Bitmap *img) { return 0; }
+ virtual void cache(Fl_Bitmap *img) { }
/** Support function for Fl_RGB_Image drawing */
- virtual fl_uintptr_t cache(Fl_RGB_Image *img) { return 0; }
+ virtual void cache(Fl_RGB_Image *img) { }
/** Support function for Fl_RGB_Image drawing */
virtual void uncache(Fl_RGB_Image *img, fl_uintptr_t &id_, fl_uintptr_t &mask_) { }
// --- implementation is in src/drivers/xxx/Fl_xxx_Graphics_Driver_image.cxx