From Tree, moved GL_ #define's out of osg namespaces

This commit is contained in:
Robert Osfield
2005-01-07 19:00:40 +00:00
parent 814300f896
commit 40632c97b0
5 changed files with 22 additions and 21 deletions

View File

@@ -20,15 +20,6 @@
#include <osg/Shape>
#include <osg/buffered_value>
namespace osg {
class Vec2f;
class Vec3f;
class Vec4f;
class UByte4;
class Geometry;
#ifndef GL_ARB_vertex_buffer_object
// for compatibility with gl.h headers that don't support VBO,
@@ -98,6 +89,16 @@ class Geometry;
#endif
namespace osg {
class Vec2f;
class Vec3f;
class Vec4f;
class UByte4;
class Geometry;
// this is defined to alter the way display lists are compiled inside the
// the draw method, it has been found that the NVidia drivers fail completely
// to optimize COMPILE_AND_EXECUTE in fact make it go slower than for no display