Index: core/src/fxge/dib/fx_dib_main.cpp |
diff --git a/core/src/fxge/dib/fx_dib_main.cpp b/core/src/fxge/dib/fx_dib_main.cpp |
index b98fc6b359efeb7a0c1f982af6f62e4f10bddf0c..8c7e831e8c962aee6d9d2799de5f5ce5f87e40bb 100644 |
--- a/core/src/fxge/dib/fx_dib_main.cpp |
+++ b/core/src/fxge/dib/fx_dib_main.cpp |
@@ -1551,11 +1551,6 @@ CFX_ImageRenderer::CFX_ImageRenderer() { |
CFX_ImageRenderer::~CFX_ImageRenderer() { |
delete m_pTransformer; |
} |
-extern FX_RECT _FXDIB_SwapClipBox(FX_RECT& clip, |
- int width, |
- int height, |
- FX_BOOL bFlipX, |
- FX_BOOL bFlipY); |
FX_BOOL CFX_ImageRenderer::Start(CFX_DIBitmap* pDevice, |
const CFX_ClipRgn* pClipRgn, |
const CFX_DIBSource* pSource, |
@@ -1596,8 +1591,8 @@ FX_BOOL CFX_ImageRenderer::Start(CFX_DIBitmap* pDevice, |
int dest_height = image_rect.Height(); |
FX_RECT bitmap_clip = m_ClipBox; |
bitmap_clip.Offset(-image_rect.left, -image_rect.top); |
- bitmap_clip = _FXDIB_SwapClipBox(bitmap_clip, dest_width, dest_height, |
- m_Matrix.c > 0, m_Matrix.b < 0); |
+ bitmap_clip = FXDIB_SwapClipBox(bitmap_clip, dest_width, dest_height, |
+ m_Matrix.c > 0, m_Matrix.b < 0); |
m_Composer.Compose(pDevice, pClipRgn, bitmap_alpha, mask_color, m_ClipBox, |
TRUE, m_Matrix.c > 0, m_Matrix.b < 0, m_bRgbByteOrder, |
alpha_flag, pIccTransform, m_BlendType); |