summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2009-12-01 15:25:52 -0500
committerAdam Jackson <ajax@redhat.com>2009-12-01 15:25:52 -0500
commit4509305138d04d1e2e670b6d21b54b28b69405ba (patch)
tree91c08e45dfd5188287463de6e36c1588d527c3f5
parent2fbedf7be67e98170a17118c958568439d1613cc (diff)
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>
-rw-r--r--src/vesa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vesa.c b/src/vesa.c
index f786766..df73152 100644
--- a/src/vesa.c
+++ b/src/vesa.c
@@ -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);