diff options
author | Alan Hourihane <alanh@fairlite.demon.co.uk> | 2006-06-12 13:53:20 +0100 |
---|---|---|
committer | Alan Hourihane <alanh@fairlite.demon.co.uk> | 2006-06-12 13:53:20 +0100 |
commit | a50610b7719bfe800c3496c17d0ba77739167b35 (patch) | |
tree | d4a5e0dec38764f05dda862fd7103b63330be8d8 | |
parent | f02268b2091c9a785d26e82bcb35a8b713463072 (diff) |
Use 800x600 mode to double check
-rw-r--r-- | src/i830_driver.c | 9 |
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); |