We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I get lots of compiler errors in vertexdatainterpreter.cpp (resulting from WINGDIAPI and APIENTRY being undefined inside gl.h).
The file includes GL/gl.h without including windows.h, which seems to be necessary.
In GLee.h (an extension loading library), the include block looks as follows:
#ifdef WIN32 #ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN #endif #include <windows.h> #include <GL/gl.h> #elif defined(__APPLE__) || defined(__APPLE_CC__) #define GL_GLEXT_LEGACY #include <OpenGL/gl.h> #else // GLX #define __glext_h_ /* prevent glext.h from being included */ #define __glxext_h_ /* prevent glxext.h from being included */ #define GLX_GLXEXT_PROTOTYPES #include <GL/gl.h> #include <GL/glx.h> #endif
In glext.h, there is the following block:
#if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__) #define WIN32_LEAN_AND_MEAN 1 #include <windows.h> #endif
The text was updated successfully, but these errors were encountered:
It should be fixed with my latest change. Thanks.
Sorry, something went wrong.
No branches or pull requests
I get lots of compiler errors in vertexdatainterpreter.cpp (resulting from WINGDIAPI and APIENTRY being undefined inside gl.h).
The file includes GL/gl.h without including windows.h, which seems to be necessary.
In GLee.h (an extension loading library), the include block looks as follows:
In glext.h, there is the following block:
The text was updated successfully, but these errors were encountered: