diff --git a/src/osgDB/ObjectWrapper.cpp b/src/osgDB/ObjectWrapper.cpp index 9f07d9eee..102b274e3 100644 --- a/src/osgDB/ObjectWrapper.cpp +++ b/src/osgDB/ObjectWrapper.cpp @@ -44,6 +44,10 @@ #include +#ifndef GL_PERSPECTIVE_CORRECTION_HINT + #define GL_PERSPECTIVE_CORRECTION_HINT 0x0C50 +#endif + using namespace osgDB; void osgDB::split( const std::string& src, StringList& list, char separator )