projects
/
presencevnc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e756fa
)
re-add extrapixels to get rid of artefacts
author
Christian Pulvermacher
<christian@hazel.(none)>
Mon, 4 Oct 2010 11:48:28 +0000
(13:48 +0200)
committer
Christian Pulvermacher
<christian@hazel.(none)>
Mon, 4 Oct 2010 11:48:28 +0000
(13:48 +0200)
src/vncview.cpp
patch
|
blob
|
history
diff --git
a/src/vncview.cpp
b/src/vncview.cpp
index
87666de
..
ff5f5f6
100644
(file)
--- 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();