aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xunix/vncserver8
1 files changed, 0 insertions, 8 deletions
diff --git a/unix/vncserver b/unix/vncserver
index 85140350..b9627389 100755
--- a/unix/vncserver
+++ b/unix/vncserver
@@ -373,14 +373,6 @@ sub CheckGeometryAndDepth
die "$prog: geometry $geometry is invalid\n";
}
- while (($width % 4)!=0) {
- $width = $width + 1;
- }
-
- while (($height % 2)!=0) {
- $height = $height + 1;
- }
-
$geometry = "${width}x$height";
} else {
die "$prog: geometry $geometry is invalid\n";