summaryrefslogtreecommitdiff
path: root/src/i830_driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/i830_driver.c')
-rw-r--r--src/i830_driver.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/i830_driver.c b/src/i830_driver.c
index 2d02c484..e43e355a 100644
--- a/src/i830_driver.c
+++ b/src/i830_driver.c
@@ -956,17 +956,14 @@ I830Set640x480(ScrnInfoPtr pScrn)
return TRUE;
/* if the first failed, let's try the next - usually 800x600 */
- m = 0x31;
-
+ m = 0x32;
switch (pScrn->depth) {
case 15:
- m = 0x42;
- break;
case 16:
- m = 0x43;
+ m = 0x42;
break;
case 24:
- m = 0x51;
+ m = 0x52;
break;
}
m |= (1 << 15) | (1 << 14);