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:
nigels 2009-04-01 16:35:23 +00:00
parent a41f08bff5
commit c1f2127035

View File

@ -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