Index: core/src/fxge/dib/fx_dib_transform.cpp |
diff --git a/core/src/fxge/dib/fx_dib_transform.cpp b/core/src/fxge/dib/fx_dib_transform.cpp |
index 65afdd6b3aa7a6c57b3516704554326905a80b7d..a9a1e66d99ab0ba94b2dbe8e2a8bc9a0c8303151 100644 |
--- a/core/src/fxge/dib/fx_dib_transform.cpp |
+++ b/core/src/fxge/dib/fx_dib_transform.cpp |
@@ -73,7 +73,6 @@ CFX_DIBitmap* CFX_DIBSource::SwapXY(FX_BOOL bXFlip, FX_BOOL bYFlip, const FX_REC |
return NULL; |
} |
pTransBitmap->CopyPalette(m_pPalette); |
- int src_pitch = m_Pitch; |
int dest_pitch = pTransBitmap->GetPitch(); |
FX_LPBYTE dest_buf = pTransBitmap->GetBuffer(); |
int row_start = bXFlip ? m_Height - dest_clip.right : dest_clip.left; |
@@ -133,7 +132,6 @@ CFX_DIBitmap* CFX_DIBSource::SwapXY(FX_BOOL bXFlip, FX_BOOL bYFlip, const FX_REC |
} |
} |
if (m_pAlphaMask) { |
- src_pitch = m_pAlphaMask->m_Pitch; |
dest_pitch = pTransBitmap->m_pAlphaMask->GetPitch(); |
dest_buf = pTransBitmap->m_pAlphaMask->GetBuffer(); |
int dest_step = bYFlip ? -dest_pitch : dest_pitch; |