summaryrefslogtreecommitdiff
path: root/src/Fl_Pixmap.cxx
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 /src/Fl_Pixmap.cxx
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 'src/Fl_Pixmap.cxx')
-rw-r--r--src/Fl_Pixmap.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Pixmap.cxx b/src/Fl_Pixmap.cxx
index 960efa8cc..d7b837915 100644
--- a/src/Fl_Pixmap.cxx
+++ b/src/Fl_Pixmap.cxx
@@ -64,7 +64,7 @@ int Fl_Pixmap::prepare(int XP, int YP, int WP, int HP, int &cx, int &cy,
}
if ( fl_graphics_driver->start_image(this, XP,YP,WP,HP,cx,cy,X,Y,W,H) ) return 1;
if (!id_) {
- id_ = fl_graphics_driver->cache(this);
+ fl_graphics_driver->cache(this);
}
return 0;
}