diff options
| -rw-r--r-- | sys/man/8/plan9.ini | 8 | ||||
| -rw-r--r-- | sys/src/9/pc/vgavesa.c | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/sys/man/8/plan9.ini b/sys/man/8/plan9.ini index ce23d746d..09f639608 100644 --- a/sys/man/8/plan9.ini +++ b/sys/man/8/plan9.ini @@ -760,10 +760,10 @@ and .BR off . The first two specify differing levels of power saving; the third turns the monitor off completely. -.SS \fL*vesashadow=\fP -This enables the shadow framebuffer or softscreen of the VESA -video driver. This is usefull on devices where access to -the physical framebuffer is slow. +.SS \fL*novesashadow=\fP +This disables the shadow framebuffer or softscreen of the VESA +video driver. This can improve performance on some graphics +cards. .SS NVRAM .SS \fLnvram=\fIfile\fP .SS \fLnvrlen=\fIlength\fP diff --git a/sys/src/9/pc/vgavesa.c b/sys/src/9/pc/vgavesa.c index 3616e10f0..7214aae5f 100644 --- a/sys/src/9/pc/vgavesa.c +++ b/sys/src/9/pc/vgavesa.c @@ -162,10 +162,10 @@ vesalinear(VGAscr *scr, int, int) vgalinearaddr(scr, paddr, size); if(scr->apsize) addvgaseg("vesascreen", scr->paddr, scr->apsize); - if(getconf("*vesashadow")){ - hardscreen = scr->vaddr; - scr->paddr = scr->apsize = 0; - } + if(getconf("*novesashadow")) + return; + hardscreen = scr->vaddr; + scr->paddr = scr->apsize = 0; } static void |
