Build fixes for GLES2

This commit is contained in:
Robert Osfield
2010-02-19 21:03:33 +00:00
parent c2d55fdb37
commit 4acaaa3274

View File

@@ -44,12 +44,15 @@
#include <osg/PolygonMode>
#include <osg/PolygonOffset>
#include <osg/Texture1D>
#include <osg/LogicOp>
#include <sstream>
#if defined(OSG_GLES1_AVAILABLE) || defined(OSG_GLES2_AVAILABLE)
#define GL_PERSPECTIVE_CORRECTION_HINT 0x0C50
#define GL_POLYGON_SMOOTH_HINT 0x0C53
#define GL_PERSPECTIVE_CORRECTION_HINT 0x0C50
#define GL_POLYGON_SMOOTH_HINT 0x0C53
#define GL_LINE_SMOOTH_HINT 0x0C52
#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B
#endif
using namespace osgDB;