summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTed Jump <tjump@users.sourceforge.net>1999-09-19 02:03:18 +0000
committerTed Jump <tjump@users.sourceforge.net>1999-09-19 02:03:18 +0000
commitbc8c96e377c84d7f7ce6c57120ef7653abb8ce5c (patch)
treefd922fc2887bb91c7d4d6dfb01b42989b86279ef /include
parentd629bb428cc5687a26c6bbd3618d967959c5455c (diff)
downloadglu-bc8c96e377c84d7f7ce6c57120ef7653abb8ce5c.tar.gz
More Win32 build compliance fixups
Diffstat (limited to 'include')
-rw-r--r--include/GL/glu.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/include/GL/glu.h b/include/GL/glu.h
index 01d630e..6861a17 100644
--- a/include/GL/glu.h
+++ b/include/GL/glu.h
@@ -1,4 +1,4 @@
-/* $Id: glu.h,v 1.8 1999/09/17 12:21:36 brianp Exp $ */
+/* $Id: glu.h,v 1.9 1999/09/19 02:03:18 tjump Exp $ */
/*
* Mesa 3-D graphics library
@@ -23,6 +23,9 @@
/*
* $Log: glu.h,v $
+ * Revision 1.9 1999/09/19 02:03:18 tjump
+ * More Win32 build compliance fixups
+ *
* Revision 1.8 1999/09/17 12:21:36 brianp
* glGetProcAddressEXT changes to accomodate Win32 and non-Win32
*
@@ -511,15 +514,11 @@ GLUAPI const GLubyte* GLAPIENTRY gluGetString( GLenum name );
* which uses this extension yet! It may change!
*/
#define GLU_EXT_get_proc_address 1
-#ifdef __WIN32__
- typedef (void (GLAPIENTRY *gluProcAddress))();
- gluProcAddress GLAPIENTRY gluGetProcAddressEXT(const GLubyte *procName);
-#else
- GLUAPI void GLAPIENTRY (*gluGetProcAddressEXT(const GLubyte *procName))();
+#ifdef GLU_EXT_get_proc_address
+GLUAPI void (GLAPIENTRY *glGetProcAddressEXT(const GLubyte *procName))();
#endif
-
#if defined(__BEOS__) || defined(__QUICKDRAW__)
#pragma export off
#endif