diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2002-11-05 20:52:07 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2002-11-05 20:52:07 +0000 |
commit | aa3029bce1bc5bb59e91373d15035653f75d6818 (patch) | |
tree | f44d6fd995f715d83b792439a1eb148678c03395 /src/mesa/drivers/dos/vesa | |
parent | 8a738db519a3cfb7a0a87a3c97090709bbbd6024 (diff) |
Updates for DOS driver from Daniel Borca.
Diffstat (limited to 'src/mesa/drivers/dos/vesa')
-rw-r--r-- | src/mesa/drivers/dos/vesa/vesa.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/dos/vesa/vesa.c b/src/mesa/drivers/dos/vesa/vesa.c index c43b6ec428..8dbeb9e52c 100644 --- a/src/mesa/drivers/dos/vesa/vesa.c +++ b/src/mesa/drivers/dos/vesa/vesa.c @@ -1,6 +1,6 @@ /*
* Mesa 3-D graphics library
- * Version: 4.0
+ * Version: 4.1
*
* Copyright (C) 1999 Brian Paul All Rights Reserved.
*
@@ -23,7 +23,7 @@ */
/*
- * DOS/DJGPP device driver v1.1 for Mesa 4.0
+ * DOS/DJGPP device driver v1.2 for Mesa 4.1
*
* Copyright (C) 2002 - Borca Daniel
* Email : dborca@yahoo.com
@@ -337,7 +337,7 @@ static int vesa_entermode (vl_mode *p, int refresh) r.x.ax = 0x4f02;
r.x.bx = p->mode;
- if ((vesa_ver>>8) >= 3) {
+ if (refresh && ((vesa_ver>>8) >= 3)) {
/* VESA 3.0 stuff for controlling the refresh rate */
CRTCInfoBlock crtc;
unsigned long vclk;
|