Added #defines for GL3 build

This commit is contained in:
Robert Osfield 2010-02-03 09:35:05 +00:00
parent 3a2cd32ea5
commit f3575e6a40
4 changed files with 16 additions and 0 deletions

View File

@ -30,6 +30,10 @@
#define GL_EXP2 0x0801
#endif
#ifndef GL_FOG_HINT
#define GL_FOG_HINT 0x0C54
#endif
namespace osg {

View File

@ -21,6 +21,10 @@
#define GL_POINT_SMOOTH 0x0B10
#endif
#ifndef GL_POINT_SMOOTH_HINT
#define GL_POINT_SMOOTH_HINT 0x0C51
#endif
namespace osg {
/** Point - encapsulates the OpenGL point smoothing and size state.*/

View File

@ -3,6 +3,10 @@
#include <osgDB/InputStream>
#include <osgDB/OutputStream>
#ifndef GL_ACCUM_BUFFER_BIT
#define GL_ACCUM_BUFFER_BIT 0x00000200
#endif
BEGIN_USER_TABLE( RenderOrder, osg::Camera );
ADD_USER_VALUE( PRE_RENDER );
ADD_USER_VALUE( NESTED_RENDER );

View File

@ -3,6 +3,10 @@
#include <osgDB/InputStream>
#include <osgDB/OutputStream>
#ifndef GL_ACCUM_BUFFER_BIT
#define GL_ACCUM_BUFFER_BIT 0x00000200
#endif
// _clearMask
static bool checkClearMask( const osg::ClearNode& node )
{