aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xfree86/vbe/vbe.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-11-07 07:15:44 +0100
committermarha <marha@users.sourceforge.net>2011-11-07 07:15:44 +0100
commit1ed503a856d9753a813951796bc6ba56c42ecd28 (patch)
tree9bd4e360a04dcb4b17d5ed3ac7e11b7225e5c4c2 /xorg-server/hw/xfree86/vbe/vbe.c
parent02f377d5e2dd18537d0807ad63675a0970b5a37d (diff)
downloadvcxsrv-1ed503a856d9753a813951796bc6ba56c42ecd28.tar.gz
vcxsrv-1ed503a856d9753a813951796bc6ba56c42ecd28.tar.bz2
vcxsrv-1ed503a856d9753a813951796bc6ba56c42ecd28.zip
xserver pixman mesa git update 7 nov 2011
Diffstat (limited to 'xorg-server/hw/xfree86/vbe/vbe.c')
-rw-r--r--xorg-server/hw/xfree86/vbe/vbe.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/xorg-server/hw/xfree86/vbe/vbe.c b/xorg-server/hw/xfree86/vbe/vbe.c
index 04132d956..06a628457 100644
--- a/xorg-server/hw/xfree86/vbe/vbe.c
+++ b/xorg-server/hw/xfree86/vbe/vbe.c
@@ -1036,13 +1036,16 @@ VBEInterpretPanelID(int scrnIndex, struct vbePanelID *data)
mode = xf86CVTMode(data->hsize, data->vsize, PANEL_HZ, 1, 0);
pScrn->monitor->nHsync = 1;
- pScrn->monitor->hsync[0].lo = 31.5;
+ pScrn->monitor->hsync[0].lo = 29.37;
pScrn->monitor->hsync[0].hi = (float)mode->Clock / (float)mode->HTotal;
pScrn->monitor->nVrefresh = 1;
pScrn->monitor->vrefresh[0].lo = 56.0;
pScrn->monitor->vrefresh[0].hi =
(float)mode->Clock*1000.0 / (float)mode->HTotal / (float)mode->VTotal;
+ if (pScrn->monitor->vrefresh[0].hi < 59.47)
+ pScrn->monitor->vrefresh[0].hi = 59.47;
+
free(mode);
}