mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-26 08:31:56 +00:00
Workaround Mesa GLUT incompatibility. Same fix as Mandriva 2009 rpm: libglew-devel-1.5.0-2mdv2009.0 glut.h depends on GLAPIENTRY being defined via gl.h
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@552 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
parent
a41f08bff5
commit
c1f2127035
@ -55,6 +55,7 @@ GLEWAPI const GLubyte* glewGetString (GLenum name);
|
|||||||
#undef GLEW_APIENTRY_DEFINED
|
#undef GLEW_APIENTRY_DEFINED
|
||||||
#undef APIENTRY
|
#undef APIENTRY
|
||||||
#undef GLAPIENTRY
|
#undef GLAPIENTRY
|
||||||
|
#define GLAPIENTRY
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef GLEW_CALLBACK_DEFINED
|
#ifdef GLEW_CALLBACK_DEFINED
|
||||||
|
Loading…
Reference in New Issue
Block a user