From bdcddc10f80f05e9471207dd503fad861cfac1b1 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 3 Feb 2010 09:35:36 +0000 Subject: [PATCH] Added #define for GL3 build --- src/osgDB/ObjectWrapper.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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 )