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 a51038628e18022a35f81a6b9e761edc958e715a..803d906ff9c0d88f4c4602fe2ab61a232929890d 100644 |
--- a/core/src/fxge/dib/fx_dib_engine.cpp |
+++ b/core/src/fxge/dib/fx_dib_engine.cpp |
@@ -32,7 +32,6 @@ void CWeightTable::Calc(int dest_len, int dest_min, int dest_max, int src_len, i |
if (m_pWeightTables == NULL) { |
return; |
} |
- FXSYS_memset32(m_pWeightTables, 0, sizeof(FX_BYTE) * ((dest_max - dest_min)*m_ItemSize + 4)); |
if ((flags & FXDIB_NOSMOOTH) != 0 || FXSYS_fabs((FX_FLOAT)scale) < 1.0f) { |
for (int dest_pixel = dest_min; dest_pixel < dest_max; dest_pixel ++) { |
PixelWeight& pixel_weights = *GetPixelWeight(dest_pixel); |
@@ -207,7 +206,6 @@ CStretchEngine::CStretchEngine(IFX_ScanlineComposer* pDestBitmap, FXDIB_Format d |
if (m_pDestScanline == NULL) { |
return; |
} |
- FXSYS_memset32(m_pDestScanline, 0, sizeof(FX_BYTE) * size); |
if (dest_format == FXDIB_Rgb32) { |
FXSYS_memset8(m_pDestScanline, 255, size); |
} |