From 793932a227d951f9997b02af7d99dd68d3016549 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 21 Jan 2010 16:07:19 +0000 Subject: [PATCH] Added extra includes to bring in their local definitions of OpenGL enums that don't exist across all GL versions --- src/osgDB/ObjectWrapper.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/osgDB/ObjectWrapper.cpp b/src/osgDB/ObjectWrapper.cpp index 78755234f..5b29e4773 100644 --- a/src/osgDB/ObjectWrapper.cpp +++ b/src/osgDB/ObjectWrapper.cpp @@ -26,10 +26,21 @@ #include #include #include + #include #include #include #include + +// pull in OSG headers to just introduce their GL defines for GL3/GLES compatibility +#include +#include +#include +#include +#include +#include +#include + #include using namespace osgDB;