| Index: core/src/fxge/dib/fx_dib_engine.cpp
|
| diff --git a/core/src/fxge/dib/fx_dib_engine.cpp b/core/src/fxge/dib/fx_dib_engine.cpp
|
| index 4d398d8c45717c1ff3aad94f9531235cf3fea44a..7b08386ae26e66bfd8060c19a14c6f402e34369b 100644
|
| --- a/core/src/fxge/dib/fx_dib_engine.cpp
|
| +++ b/core/src/fxge/dib/fx_dib_engine.cpp
|
| @@ -316,10 +316,7 @@ FX_BOOL CStretchEngine::StartStretchHorz()
|
| return FALSE;
|
| }
|
| if (m_pSource && m_bHasAlpha && m_pSource->m_pAlphaMask) {
|
| - m_pExtraAlphaBuf = FX_Alloc(unsigned char, m_SrcClip.Height() * m_ExtraMaskPitch);
|
| - if (!m_pExtraAlphaBuf) {
|
| - return FALSE;
|
| - }
|
| + m_pExtraAlphaBuf = FX_Alloc2D(unsigned char, m_SrcClip.Height(), m_ExtraMaskPitch);
|
| FX_DWORD size = (m_DestClip.Width() * 8 + 31) / 32 * 4;
|
| m_pDestMaskScanline = FX_TryAlloc(unsigned char, size);
|
| if (!m_pDestMaskScanline) {
|
|
|