Build fix for GLES1 and GLES2

This commit is contained in:
Robert Osfield
2010-02-19 20:40:41 +00:00
parent b1001c2a9c
commit 521ad875cb

View File

@@ -41,11 +41,15 @@
#include <osg/TexGen>
#include <osg/ClipPlane>
#include <osg/Fog>
#include <osg/PolygonMode>
#include <osg/PolygonOffset>
#include <osg/Texture1D>
#include <sstream>
#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;