mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2025-02-16 21:58:01 +00:00
added string pointer cast in wglGetProcAddress to make glew.c compile with a c++ compiler
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@158 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
parent
7f0f2c1db0
commit
ac74be6855
@ -37,7 +37,7 @@
|
||||
#endif
|
||||
|
||||
#if defined(_WIN32)
|
||||
# define glewGetProcAddress(name) wglGetProcAddress(name)
|
||||
# define glewGetProcAddress(name) wglGetProcAddress((LPCSTR)name)
|
||||
#else
|
||||
# if defined(__APPLE__)
|
||||
# define glewGetProcAddress(name) NSGLGetProcAddress(name)
|
||||
|
Loading…
Reference in New Issue
Block a user