diff options
author | Adam Jackson <ajax@redhat.com> | 2009-12-01 15:25:52 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2009-12-01 15:25:52 -0500 |
commit | 4509305138d04d1e2e670b6d21b54b28b69405ba (patch) | |
tree | 91c08e45dfd5188287463de6e36c1588d527c3f5 /src/vesa.c | |
parent | 2fbedf7be67e98170a17118c958568439d1613cc (diff) | |
download | xorg-driver-xf86-video-vesa-4509305138d04d1e2e670b6d21b54b28b69405ba.tar.gz |
Don't artificially limit the screen size to 2k
VBE lets you specify sizes in uint16_t. X won't work above 32k though,
so clamp to that instead of the arbitrary 2k.
Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'src/vesa.c')
-rw-r--r-- | src/vesa.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -550,7 +550,7 @@ VESAValidateModes(ScrnInfoPtr pScrn) mode->status = MODE_OK; return VBEValidateModes(pScrn, NULL, pScrn->display->modes, - NULL, NULL, 0, 2048, 1, 0, 2048, + NULL, NULL, 0, 32767, 1, 0, 32767, pScrn->display->virtualX, pScrn->display->virtualY, pVesa->mapSize, LOOKUP_BEST_REFRESH); |