More Win32 build compliance fixups
This commit is contained in:
+3
-9
@@ -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,16 +2181,10 @@ 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))();
|
||||
GLAPI void (GLAPIENTRY *glGetProcAddressEXT(const GLubyte *procName))();
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
#if defined(__BEOS__) || defined(__QUICKDRAW__)
|
||||
#pragma export off
|
||||
|
||||
+6
-7
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user