summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dos/vesa.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/dos/vesa.c')
-rw-r--r--src/mesa/drivers/dos/vesa.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/drivers/dos/vesa.c b/src/mesa/drivers/dos/vesa.c
index ea5bcb7a86e..e87651e4fd2 100644
--- a/src/mesa/drivers/dos/vesa.c
+++ b/src/mesa/drivers/dos/vesa.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
*/
@@ -450,6 +450,7 @@ static void vesa_restore (void)
r.x.ax = 0x4f02;
r.x.bx = oldmode;
__dpmi_int(0x10, &r);
+ oldmode = -1;
}
}