summaryrefslogtreecommitdiff
path: root/src/drivers/Quartz/Fl_Quartz_Graphics_Driver_image.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-11-10 19:58:20 +0000
committerManolo Gouy <Manolo>2016-11-10 19:58:20 +0000
commit2fd5752b89867689de8246f4b3dfdf6a0a678e81 (patch)
treea1ab98c9e4411bbe05bfac2a851050c8b7dc7d77 /src/drivers/Quartz/Fl_Quartz_Graphics_Driver_image.cxx
parenta873e414bd184ee3d5985e2ddcda19acd9d75b74 (diff)
Fl_Quartz_Graphics_Driver::uncache() should also reset mask_.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@12095 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/drivers/Quartz/Fl_Quartz_Graphics_Driver_image.cxx')
-rw-r--r--src/drivers/Quartz/Fl_Quartz_Graphics_Driver_image.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/Quartz/Fl_Quartz_Graphics_Driver_image.cxx b/src/drivers/Quartz/Fl_Quartz_Graphics_Driver_image.cxx
index 9f2dc8be5..d3755adb6 100644
--- a/src/drivers/Quartz/Fl_Quartz_Graphics_Driver_image.cxx
+++ b/src/drivers/Quartz/Fl_Quartz_Graphics_Driver_image.cxx
@@ -237,6 +237,7 @@ void Fl_Quartz_Graphics_Driver::uncache(Fl_RGB_Image*, fl_uintptr_t &id_, fl_uin
if (id_) {
CGImageRelease((CGImageRef)id_);
id_ = 0;
+ mask_ = 0;
}
}