Added #defines for GL3 build
This commit is contained in:
parent
3a2cd32ea5
commit
f3575e6a40
@ -30,6 +30,10 @@
|
||||
#define GL_EXP2 0x0801
|
||||
#endif
|
||||
|
||||
#ifndef GL_FOG_HINT
|
||||
#define GL_FOG_HINT 0x0C54
|
||||
#endif
|
||||
|
||||
namespace osg {
|
||||
|
||||
|
||||
|
@ -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.*/
|
||||
|
@ -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 );
|
||||
|
@ -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 )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user