diff options
author | Eric Anholt <anholt@freebsd.org> | 2004-06-16 09:26:53 +0000 |
---|---|---|
committer | Eric Anholt <anholt@freebsd.org> | 2004-06-16 09:26:53 +0000 |
commit | 057949f434a1c0d751dad5ec3ef154f2feee26ef (patch) | |
tree | fc55922f5e41ad88fb584e70963c68b5b8c4b5a6 /src/savage_dga.c | |
parent | 58aca915bb0a28c6f59a7a6c14b72b034d245035 (diff) |
DRI trunk-20040613 importDRI-trunk-20040721DRI-trunk-20040613COMPOSITEWRAP
Diffstat (limited to 'src/savage_dga.c')
-rw-r--r-- | src/savage_dga.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/savage_dga.c b/src/savage_dga.c index 55f057e..50a36b0 100644 --- a/src/savage_dga.c +++ b/src/savage_dga.c @@ -1,4 +1,4 @@ -/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/savage/savage_dga.c,v 1.6 2003/01/18 15:22:29 eich Exp $ */ +/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/savage/savage_dga.c,v 1.3 2001/05/18 23:35:32 dawes Exp $ */ /* Copyright (C) 1994-2000 The XFree86 Project, Inc. All Rights Reserved. @@ -275,7 +275,7 @@ Savage_SetMode( psav->DGAactive = FALSE; SavageSwitchMode(index, pScrn->currentMode, 0); - if( psav->hwcursor && psav->hwc_on ) + if( psav->hwcursor ) SavageShowCursor(pScrn); } else { Bool holdBIOS = psav->UseBIOS; @@ -289,11 +289,8 @@ Savage_SetMode( pMode->bitsPerPixel, pMode->depth); #endif - if( psav->hwcursor && psav->hwc_on) { + if( psav->hwcursor ) SavageHideCursor(pScrn); - psav->hwc_on = TRUE; /* save for later restauration */ - } - if(!psav->DGAactive) { /* save the old parameters */ OldDisplayWidth[index] = pScrn->displayWidth; |