summaryrefslogtreecommitdiff
path: root/src/Fl_Pixmap.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-03-05 07:04:20 +0000
committerManolo Gouy <Manolo>2016-03-05 07:04:20 +0000
commite7a0f7c5d02e26b05160b06e4e35d6f66aab5ac6 (patch)
tree88240634390cbac00e5bd95f2d0341f59a0bedde /src/Fl_Pixmap.cxx
parent3f401f4477249c4ae4d02e232f6389ae51def1d3 (diff)
Complete the platform-neutral implementation of fl_XXX_offscreen() functions.
It is necessary to have a stack of the fl_begin_offscreen() calls, so that nested such calls apply fl_end_offscreen() to the matching fl_begin_offscreen(). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11289 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Pixmap.cxx')
-rw-r--r--src/Fl_Pixmap.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/Fl_Pixmap.cxx b/src/Fl_Pixmap.cxx
index b67a48ad9..b6d501fb9 100644
--- a/src/Fl_Pixmap.cxx
+++ b/src/Fl_Pixmap.cxx
@@ -101,11 +101,7 @@ Fl_Pixmap::~Fl_Pixmap() {
void Fl_Pixmap::uncache() {
if (id_) {
-#ifdef __APPLE__
- fl_graphics_driver->uncache(this);
-#else
fl_delete_offscreen((Fl_Offscreen)id_);
-#endif
id_ = 0;
}