Windows fixup for glGetProcAddressREGAL

This commit is contained in:
Nigel Stewart 2014-01-22 12:23:05 -06:00
parent 0aeace842f
commit 6718b2ccd6

View File

@ -42,8 +42,13 @@
the GL function pointers. */
# undef glGetProcAddressREGAL
# ifdef WIN32
extern void * __stdcall glGetProcAddressREGAL(const GLchar *name);
static void * (__stdcall * regalGetProcAddress) (const GLchar *) = glGetProcAddressREGAL;
# else
extern void * glGetProcAddressREGAL(const GLchar *name);
static PFNGLGETPROCADDRESSREGALPROC regalGetProcAddress = glGetProcAddressREGAL;
static void * (*regalGetProcAddress) (const GLchar *) = glGetProcAddressREGAL;
# endif
# define glGetProcAddressREGAL GLEW_GET_FUN(__glewGetProcAddressREGAL)
#elif defined(__sgi) || defined (__sun) || defined(__HAIKU__) || defined(GLEW_APPLE_GLX)