diff options
| author | Manolo Gouy <Manolo> | 2016-03-04 22:30:18 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-03-04 22:30:18 +0000 |
| commit | a46e324405a535fcfb5ad7b4097a6a16e8bf58fc (patch) | |
| tree | ee03135087777a5b1558f258192f93ac97803937 /src/Fl_Pixmap.cxx | |
| parent | 7c5c803ca99ca352343051c0ad0441ed895f27d7 (diff) | |
Fix a problem seen in fluid on the Mac OS platform.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11285 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Pixmap.cxx')
| -rw-r--r-- | src/Fl_Pixmap.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Fl_Pixmap.cxx b/src/Fl_Pixmap.cxx index b6d501fb9..b67a48ad9 100644 --- a/src/Fl_Pixmap.cxx +++ b/src/Fl_Pixmap.cxx @@ -101,7 +101,11 @@ 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; } |
