x more changes to the 3dfx driver
v1.6 (???-2004)
- + added DMesaGetProcAddress
+ + added DMesaGetProcAddress and glutGetProcAddress
! fixed a horrible bug in VGA initialization routine
*/
/*
- * DOS/DJGPP glut driver v1.3 for Mesa
+ * DOS/DJGPP glut driver v1.4 for Mesa
*
* Copyright (C) 2002 - Borca Daniel
* Email : dborca@yahoo.com
#include <string.h>
-#include "GL/glut.h"
+#include <GL/glut.h>
+#include "GL/dmesa.h"
int APIENTRY glutExtensionSupported (const char *extension)
}
}
}
+
+
+void * APIENTRY
+glutGetProcAddress (const char *procName)
+{
+ /* TODO - handle glut namespace */
+ return DMesaGetProcAddress(procName);
+}