summaryrefslogtreecommitdiffstats
path: root/include/GL/gl.h
diff options
context:
space:
mode:
authorTed Jump <[email protected]>1999-09-19 02:03:18 +0000
committerTed Jump <[email protected]>1999-09-19 02:03:18 +0000
commit725ec81ae80e024df4a5490405dbfbc598533e6e (patch)
treeac0115bd0729dea1f6ffde983f85e266b13e851e /include/GL/gl.h
parent1bf9dfaf5dea61e3d33a69b0a549be54ef6d74df (diff)
More Win32 build compliance fixups
Diffstat (limited to 'include/GL/gl.h')
-rw-r--r--include/GL/gl.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/include/GL/gl.h b/include/GL/gl.h
index 02b12393894..8c00484d58f 100644
--- a/include/GL/gl.h
+++ b/include/GL/gl.h
@@ -1,4 +1,4 @@
-/* $Id: gl.h,v 1.7 1999/09/18 01:06:52 brianp Exp $ */
+/* $Id: gl.h,v 1.8 1999/09/19 02:03:18 tjump Exp $ */
/*
* Mesa 3-D graphics library
@@ -2181,17 +2181,11 @@ GLAPI void GLAPIENTRY glUnlockArraysEXT( void );
* If you want to try it out, #define GL_EXT_get_proc_address before
* #include <GL/gl.h>
*/
+#define GL_EXT_get_proc_address 1
#ifdef GL_EXT_get_proc_address
-#ifdef __WIN32__
- typedef (void GLAPIENTRY *glProcAddress)();
- glProcAddress GLAPIENTRY glGetProcAddressEXT(const GLubyte *procName);
-#else
- /* everything but Windows */
- GLAPI void GLAPIENTRY (*glGetProcAddressEXT(const GLubyte *procName))();
-#endif
+GLAPI void (GLAPIENTRY *glGetProcAddressEXT(const GLubyte *procName))();
#endif
-
#if defined(__BEOS__) || defined(__QUICKDRAW__)
#pragma export off
#endif