summaryrefslogtreecommitdiff
path: root/src/fl_rect.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/fl_rect.cxx')
-rw-r--r--src/fl_rect.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fl_rect.cxx b/src/fl_rect.cxx
index 5cd8d7537..b050c01cf 100644
--- a/src/fl_rect.cxx
+++ b/src/fl_rect.cxx
@@ -580,7 +580,7 @@ void Fl_Graphics_Driver::push_clip(int x, int y, int w, int h) {
CombineRgn(r,r,current,RGN_AND);
#elif defined(__APPLE_QUARTZ__)
XDestroyRegion(r);
- r = MacRectRegionIntersect(current, x,y,w,h);
+ r = Fl_X::intersect_region_and_rect(current, x,y,w,h);
#else
# error unsupported platform
#endif