summaryrefslogtreecommitdiffstats
path: root/src/glut/dos/extens.c
diff options
context:
space:
mode:
authorDaniel Borca <[email protected]>2004-02-02 07:47:23 +0000
committerDaniel Borca <[email protected]>2004-02-02 07:47:23 +0000
commit61bc62cc40764b58ac8bceb48a579534841fca93 (patch)
tree1e29cbe48d2e9ab4475f2c5c305b8eed10434574 /src/glut/dos/extens.c
parent4c7883e402dd0733a56870f4517e455e46523cf4 (diff)
added glutGetProcAddress in DMesaGLUT
Diffstat (limited to 'src/glut/dos/extens.c')
-rw-r--r--src/glut/dos/extens.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/glut/dos/extens.c b/src/glut/dos/extens.c
index bc6cfe0f5ff..a77eb910b30 100644
--- a/src/glut/dos/extens.c
+++ b/src/glut/dos/extens.c
@@ -19,7 +19,7 @@
*/
/*
- * DOS/DJGPP glut driver v1.3 for Mesa
+ * DOS/DJGPP glut driver v1.4 for Mesa
*
* Copyright (C) 2002 - Borca Daniel
@@ -29,8 +29,9 @@
#include <string.h>
-#include "GL/glut.h"
+#include <GL/glut.h>
+#include "GL/dmesa.h"
int APIENTRY glutExtensionSupported (const char *extension)
@@ -61,3 +62,11 @@ int APIENTRY glutExtensionSupported (const char *extension)
}
}
}
+
+
+void * APIENTRY
+glutGetProcAddress (const char *procName)
+{
+ /* TODO - handle glut namespace */
+ return DMesaGetProcAddress(procName);
+}