From 521ad875cb87aedfa64cdb2a448e5b548824c141 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 19 Feb 2010 20:40:41 +0000 Subject: [PATCH] Build fix for GLES1 and GLES2 --- src/osgDB/ObjectWrapper.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/osgDB/ObjectWrapper.cpp b/src/osgDB/ObjectWrapper.cpp index c1b06e7d9..ea9ec9289 100644 --- a/src/osgDB/ObjectWrapper.cpp +++ b/src/osgDB/ObjectWrapper.cpp @@ -41,11 +41,15 @@ #include #include #include +#include +#include +#include #include -#ifndef GL_PERSPECTIVE_CORRECTION_HINT +#if defined(OSG_GLES1_AVAILABLE) || defined(OSG_GLES2_AVAILABLE) #define GL_PERSPECTIVE_CORRECTION_HINT 0x0C50 + #define GL_POLYGON_SMOOTH_HINT 0x0C53 #endif using namespace osgDB;