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

@@ -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 )
{