diff options
Diffstat (limited to 'src/Fl_Window_shape.cxx')
| -rw-r--r-- | src/Fl_Window_shape.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Window_shape.cxx b/src/Fl_Window_shape.cxx index 76750530b..fe635407f 100644 --- a/src/Fl_Window_shape.cxx +++ b/src/Fl_Window_shape.cxx @@ -337,7 +337,7 @@ void Fl_Window::shape(const Fl_Image* img) { void Fl_Window::draw() { if (shape_data_) { # if defined(__APPLE__) && MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_4 - if (shape_data_->mask && (CGContextClipToMask != NULL)) { + if (shape_data_->mask && (&CGContextClipToMask != NULL)) { CGContextClipToMask(fl_gc, CGRectMake(0,0,w(),h()), shape_data_->mask); // requires Mac OS 10.4 } CGContextSaveGState(fl_gc); |
