summaryrefslogtreecommitdiff
path: root/src/savage_dga.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/savage_dga.c')
-rw-r--r--src/savage_dga.c9
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;