Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Maik Froechtenicht
glew
Commits
6718b2cc
Commit
6718b2cc
authored
Jan 22, 2014
by
Nigel Stewart
Browse files
Windows fixup for glGetProcAddressREGAL
parent
0aeace84
Changes
1
Hide whitespace changes
Inline
Side-by-side
auto/src/glew_head.c
View file @
6718b2cc
...
...
@@ -41,10 +41,15 @@
libRegal.so glGetProcAddressREGAL for looking up
the GL function pointers. */
#undef glGetProcAddressREGAL
extern
void
*
glGetProcAddressREGAL
(
const
GLchar
*
name
);
static
PFNGLGETPROCADDRESSREGALPROC
regalGetProcAddress
=
glGetProcAddressREGAL
;
#define glGetProcAddressREGAL GLEW_GET_FUN(__glewGetProcAddressREGAL)
# 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
void
*
(
*
regalGetProcAddress
)
(
const
GLchar
*
)
=
glGetProcAddressREGAL
;
# endif
# define glGetProcAddressREGAL GLEW_GET_FUN(__glewGetProcAddressREGAL)
#elif defined(__sgi) || defined (__sun) || defined(__HAIKU__) || defined(GLEW_APPLE_GLX)
#include <dlfcn.h>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment