diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2006-11-27 00:03:44 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2006-11-27 00:03:44 +0000 |
commit | 304d8cf99795855bbc2e8a564a9b475c0621758e (patch) | |
tree | d1af3ba8fa272721e74c97931a5f945c77d1dd83 /driver/xf86-video-ati | |
parent | 5611c1c435d0e78ebe02d3144bde1ca565a70491 (diff) |
OpenBSD modification: Save/restore palette on textmode save/restores too.
Diffstat (limited to 'driver/xf86-video-ati')
-rw-r--r-- | driver/xf86-video-ati/src/radeon_driver.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/driver/xf86-video-ati/src/radeon_driver.c b/driver/xf86-video-ati/src/radeon_driver.c index 14d13b5c5..6f9854fbf 100644 --- a/driver/xf86-video-ati/src/radeon_driver.c +++ b/driver/xf86-video-ati/src/radeon_driver.c @@ -7374,7 +7374,7 @@ static void RADEONSave(ScrnInfoPtr pScrn) vgaHWSave(pScrn, &hwp->SavedReg, VGA_SR_MODE); /* Save mode only */ # else /* Save mode * & fonts & cmap */ - vgaHWSave(pScrn, &hwp->SavedReg, VGA_SR_MODE | VGA_SR_FONTS); + vgaHWSave(pScrn, &hwp->SavedReg, VGA_SR_ALL); # endif vgaHWLock(hwp); } @@ -7450,7 +7450,7 @@ static void RADEONRestore(ScrnInfoPtr pScrn) */ vgaHWRestore(pScrn, &hwp->SavedReg, VGA_SR_MODE ); # else - vgaHWRestore(pScrn, &hwp->SavedReg, VGA_SR_MODE | VGA_SR_FONTS ); + vgaHWRestore(pScrn, &hwp->SavedReg, VGA_SR_ALL ); # endif vgaHWLock(hwp); } else { |