vesa: *vesashadow -> *novesashadow

This commit is contained in:
cinap_lenrek 2011-11-05 11:06:24 +01:00
parent 409ed0d966
commit b6901035d0
2 changed files with 8 additions and 8 deletions

View file

@ -760,10 +760,10 @@ and
.BR off . .BR off .
The first two specify differing levels of power saving; The first two specify differing levels of power saving;
the third turns the monitor off completely. the third turns the monitor off completely.
.SS \fL*vesashadow=\fP .SS \fL*novesashadow=\fP
This enables the shadow framebuffer or softscreen of the VESA This disables the shadow framebuffer or softscreen of the VESA
video driver. This is usefull on devices where access to video driver. This can improve performance on some graphics
the physical framebuffer is slow. cards.
.SS NVRAM .SS NVRAM
.SS \fLnvram=\fIfile\fP .SS \fLnvram=\fIfile\fP
.SS \fLnvrlen=\fIlength\fP .SS \fLnvrlen=\fIlength\fP

View file

@ -162,10 +162,10 @@ vesalinear(VGAscr *scr, int, int)
vgalinearaddr(scr, paddr, size); vgalinearaddr(scr, paddr, size);
if(scr->apsize) if(scr->apsize)
addvgaseg("vesascreen", scr->paddr, scr->apsize); addvgaseg("vesascreen", scr->paddr, scr->apsize);
if(getconf("*vesashadow")){ if(getconf("*novesashadow"))
hardscreen = scr->vaddr; return;
scr->paddr = scr->apsize = 0; hardscreen = scr->vaddr;
} scr->paddr = scr->apsize = 0;
} }
static void static void