summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dos/vga.c
diff options
context:
space:
mode:
authorDaniel Borca <[email protected]>2003-12-19 11:26:46 +0000
committerDaniel Borca <[email protected]>2003-12-19 11:26:46 +0000
commite9e98405e720845f06f7a375585491e938f4dacd (patch)
treeae25ec98796f3456f2a5a17ce0a3d02d7838fd33 /src/mesa/drivers/dos/vga.c
parenteee77bf82fda5b9f3cf34e96e7d0010bf18db748 (diff)
DMesa: removed MGA2064W driver
DMesa: added capability to query visuals fxMesa: WGL_3DFX_gamma_control fxMesa: minor fixes to interface (fxQueryHardware vs fxMesaSelect...)
Diffstat (limited to 'src/mesa/drivers/dos/vga.c')
-rw-r--r--src/mesa/drivers/dos/vga.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/drivers/dos/vga.c b/src/mesa/drivers/dos/vga.c
index 9de32f0cd5e..3a4bd9b6876 100644
--- a/src/mesa/drivers/dos/vga.c
+++ b/src/mesa/drivers/dos/vga.c
@@ -23,10 +23,10 @@
*/
/*
- * DOS/DJGPP device driver v1.3 for Mesa
+ * DOS/DJGPP device driver v1.5 for Mesa
*
* Copyright (C) 2002 - Borca Daniel
- * Email : [email protected]
+ * Email : [email protected]
* Web : http://www.geocities.com/dborca
*/
@@ -152,6 +152,7 @@ static void vga_restore (void)
{
if (oldmode != -1) {
__asm("int $0x10"::"a"(oldmode));
+ oldmode = -1;
}
}