summaryrefslogtreecommitdiff
path: root/sys/src/9/pc/vgamach64xx.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2015-01-03 18:33:35 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2015-01-03 18:33:35 +0100
commitb5008f3b562404811a81a755c6d06b47f47e545f (patch)
tree4b26c81f1920a244dfd4145530d22931789241fa /sys/src/9/pc/vgamach64xx.c
parentce2e8e56873cae9889ce8eadd056a62ae0636d63 (diff)
devvga: disable hardware blanking when switching drivers, check softscreen
we have to reset hwblank when switching drivers to prevent the generic vgablank() to be called by blankscreen(). remove code setting hwblank from vga drivers as devvga will always force hwblank to be 1 or 0 depending on if the driver provides a native blanking routine. set hwaccel to 1 when the driver provides native fill and scroll routines independent of softscreen being disabled. this allows hw acceleration to be used when softscreen gets switched off.
Diffstat (limited to 'sys/src/9/pc/vgamach64xx.c')
-rw-r--r--sys/src/9/pc/vgamach64xx.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/src/9/pc/vgamach64xx.c b/sys/src/9/pc/vgamach64xx.c
index 1c97e91d0..4e93f2453 100644
--- a/sys/src/9/pc/vgamach64xx.c
+++ b/sys/src/9/pc/vgamach64xx.c
@@ -956,7 +956,6 @@ mach64xxdrawinit(VGAscr *scr)
case ('L'<<8)|'M': /* 4C4D: Rage Mobility */
case ('L'<<8)|'P': /* 4C50: Rage 3D LTPro */
scr->blank = mach64lcdblank;
- hwblank = 1;
break;
}
}