summaryrefslogtreecommitdiffstats
path: root/include/GL/gl.h
diff options
context:
space:
mode:
authorTed Jump <[email protected]>1999-09-17 02:44:19 +0000
committerTed Jump <[email protected]>1999-09-17 02:44:19 +0000
commit3849b44d666482a14aac41f4e19a596c420cfa80 (patch)
tree15112f0e8e335b82cb920a3b5ec4e5d9ff9184d0 /include/GL/gl.h
parentd043adc8908f2137e9b5d0f010615e514b156656 (diff)
I changed the xxxGetProcAddressEXT function declarations to be more
MSVC friendly. Brianp - could you verify that they describe and operate as intended on Linux/ETC platforms?
Diffstat (limited to 'include/GL/gl.h')
-rw-r--r--include/GL/gl.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/GL/gl.h b/include/GL/gl.h
index a2c42ca6a87..202a7e91127 100644
--- a/include/GL/gl.h
+++ b/include/GL/gl.h
@@ -1,4 +1,4 @@
-/* $Id: gl.h,v 1.3 1999/09/16 16:48:27 brianp Exp $ */
+/* $Id: gl.h,v 1.4 1999/09/17 02:44:19 tjump Exp $ */
/*
* Mesa 3-D graphics library
@@ -2196,7 +2196,8 @@ GLAPI void GLAPIENTRY glUnlockArraysEXT( void );
* #include <GL/gl.h>
*/
#ifdef GL_EXT_get_proc_address
-GLAPI void GLAPIENTRY (*glGetProcAddressEXT(const GLubyte *procName))();
+typedef (void (GLAPIENTRY *glProcAddress))();
+glProcAddress GLAPIENTRY glGetProcAddressEXT(const GLubyte *procName);
#endif