diff options
author | yokota <yokota@FreeBSD.org> | 1998-10-02 03:42:19 +0000 |
---|---|---|
committer | yokota <yokota@FreeBSD.org> | 1998-10-02 03:42:19 +0000 |
commit | 0ed89e499b6945215e581a1593ca6f907dd9f10a (patch) | |
tree | 8123e951f6f0e25f05da6dc583cce1ad5f065da9 /sys/i386/isa/vesa.c | |
parent | 4b4461e1d2f18318d726bfb2f4fe8d64807ec12b (diff) | |
download | FreeBSD-src-0ed89e499b6945215e581a1593ca6f907dd9f10a.zip FreeBSD-src-0ed89e499b6945215e581a1593ca6f907dd9f10a.tar.gz |
A size field returned by the VESA BIOS is already expressed in bytes.
Submitted by: sos
Diffstat (limited to 'sys/i386/isa/vesa.c')
-rw-r--r-- | sys/i386/isa/vesa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/isa/vesa.c b/sys/i386/isa/vesa.c index 3006d5a..cfd1075 100644 --- a/sys/i386/isa/vesa.c +++ b/sys/i386/isa/vesa.c @@ -23,7 +23,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: vesa.c,v 1.6 1998/09/29 20:38:54 ache Exp $ + * $Id: vesa.c,v 1.7 1998/10/01 11:39:18 yokota Exp $ */ #include "sc.h" @@ -430,7 +430,7 @@ vesa_bios_init(void) vesa_vmode[modes].vi_window_size = vmode.v_wsize*1024; vesa_vmode[modes].vi_window_gran = vmode.v_wgran*1024; vesa_vmode[modes].vi_buffer = vmode.v_lfb; - vesa_vmode[modes].vi_buffer_size = vmode.v_offscreen*1024; + vesa_vmode[modes].vi_buffer_size = vmode.v_offscreen; /* pixel format, memory model... */ vesa_vmode[modes].vi_flags = vesa_translate_flags(vmode.v_modeattr) | V_INFO_VESA; |