aboutsummaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
Diffstat (limited to 'win')
-rw-r--r--win/rfb_win32/ScaledDIBSectionBuffer.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/win/rfb_win32/ScaledDIBSectionBuffer.cxx b/win/rfb_win32/ScaledDIBSectionBuffer.cxx
index fc63b21b..f607d348 100644
--- a/win/rfb_win32/ScaledDIBSectionBuffer.cxx
+++ b/win/rfb_win32/ScaledDIBSectionBuffer.cxx
@@ -84,6 +84,7 @@ void ScaledDIBSectionBuffer::setSize(int src_width_, int src_height_) {
// FIXME:
// Calculate the scale weight tabs must be in the ScalePixelBuffer class
+ recreateRowAccum();
freeWeightTabs();
calculateScaledBufferSize();
scaleFilters.makeWeightTabs(scaleFilterID, src_width, scaled_width, &xWeightTabs);