summaryrefslogtreecommitdiffstats
path: root/src/glut/dos/window.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2002-11-05 20:52:07 +0000
committerBrian Paul <[email protected]>2002-11-05 20:52:07 +0000
commitaa3029bce1bc5bb59e91373d15035653f75d6818 (patch)
treef44d6fd995f715d83b792439a1eb148678c03395 /src/glut/dos/window.c
parent8a738db519a3cfb7a0a87a3c97090709bbbd6024 (diff)
Updates for DOS driver from Daniel Borca.
Diffstat (limited to 'src/glut/dos/window.c')
-rw-r--r--src/glut/dos/window.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/glut/dos/window.c b/src/glut/dos/window.c
index 384e10a03b8..ba0f5acee5c 100644
--- a/src/glut/dos/window.c
+++ b/src/glut/dos/window.c
@@ -1,6 +1,6 @@
/*
* Mesa 3-D graphics library
- * Version: 4.0
+ * Version: 4.1
* Copyright (C) 1995-1998 Brian Paul
*
* This library is free software; you can redistribute it and/or
@@ -19,7 +19,7 @@
*/
/*
- * DOS/DJGPP glut driver v1.1 for Mesa 4.0
+ * DOS/DJGPP glut driver v1.2 for Mesa 4.1
*
* Copyright (C) 2002 - Borca Daniel
* Email : [email protected]
@@ -113,6 +113,7 @@ int APIENTRY glutCreateWindow (const char *title)
if ((context=fxMesaCreateBestContext(-1, screen_w, screen_h, fx_attrib))==NULL) {
return 0;
}
+ visual = context;
#endif
pc_open_stdout();