diff options
| author | Manolo Gouy <Manolo> | 2017-12-19 12:56:24 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2017-12-19 12:56:24 +0000 |
| commit | 5a579962a627a258e725e3b51652f8fe45359619 (patch) | |
| tree | 0dc1b8be441be7745720f1cee9908a8b84ccafa2 /src/Fl_Graphics_Driver.cxx | |
| parent | 52d4fef69839d1aa3e843a281c739b46d78a0330 (diff) | |
Fix Fl_GDI_Graphics_Driver::uncache(Fl_RGB_Image*,...) that did not delete correctly the cached offscreen object.
This bug was detected by a test program that rotates an SVG image. But it's not related to SVG,
and concerns any Fl_RGB_Image on the WIN32 platform. It was introduced when
image support was modified according to the driver model.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12600 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Graphics_Driver.cxx')
| -rw-r--r-- | src/Fl_Graphics_Driver.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Fl_Graphics_Driver.cxx b/src/Fl_Graphics_Driver.cxx index eb3c48c27..ea330f17a 100644 --- a/src/Fl_Graphics_Driver.cxx +++ b/src/Fl_Graphics_Driver.cxx @@ -181,7 +181,6 @@ int Fl_Graphics_Driver::start_image(Fl_Image *img, int XP, int YP, int WP, int H /** Support function for image drawing */ void Fl_Graphics_Driver::uncache_pixmap(fl_uintptr_t p) { - fl_delete_offscreen((Fl_Offscreen)p); } |
