Index: core/fxge/apple/fx_apple_platform.cpp |
diff --git a/core/fxge/apple/fx_apple_platform.cpp b/core/fxge/apple/fx_apple_platform.cpp |
index b25bb5875d100f23e6901f0cb43b47536acc929a..4204e7e6a5b309073d84ebe7f676a72869f9b40b 100644 |
--- a/core/fxge/apple/fx_apple_platform.cpp |
+++ b/core/fxge/apple/fx_apple_platform.cpp |
@@ -138,7 +138,7 @@ FX_BOOL CFX_AggDeviceDriver::DrawDeviceText(int nChars, |
rect_cg = |
CGRectMake(m_pClipRgn->GetBox().left, m_pClipRgn->GetBox().top, |
m_pClipRgn->GetBox().Width(), m_pClipRgn->GetBox().Height()); |
- const CFX_DIBitmap* pClipMask = m_pClipRgn->GetMask(); |
+ const CFX_DIBitmap* pClipMask = m_pClipRgn->GetMask().GetObject(); |
if (pClipMask) { |
CGDataProviderRef pClipMaskDataProvider = CGDataProviderCreateWithData( |
nullptr, pClipMask->GetBuffer(), |