From a2d7bf1c3197adbca6ead42bac41c3147f686b4a Mon Sep 17 00:00:00 2001 From: Christian Pulvermacher Date: Mon, 4 Oct 2010 13:48:28 +0200 Subject: [PATCH] re-add extrapixels to get rid of artefacts --- src/vncview.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/vncview.cpp b/src/vncview.cpp index 87666de..ff5f5f6 100644 --- a/src/vncview.cpp +++ b/src/vncview.cpp @@ -331,10 +331,8 @@ if(x == 0 and y == 0) { */ -/* TODO if the above works, remove this if (m_horizontalFactor != 1.0 || m_verticalFactor != 1.0) { // If the view is scaled, grow the update rectangle to avoid artifacts - // I'm not sure if that's helpful int x_extrapixels = 1.0/m_horizontalFactor + 1; int y_extrapixels = 1.0/m_verticalFactor + 1; @@ -343,7 +341,6 @@ if(x == 0 and y == 0) { m_w+=2*x_extrapixels; m_h+=2*y_extrapixels; } - */ m_frame = vncThread.image(); -- 1.7.9.5