From Tree, moved GL_ #define's out of osg namespaces
This commit is contained in:
@@ -21,6 +21,12 @@
|
||||
#include <typeinfo>
|
||||
#include <utility>
|
||||
|
||||
// define for the GL_EXT_secondary_color extension, GL_COLOR_SUM is OpenGL
|
||||
// mode to be used to enable and disable the second color.
|
||||
#ifndef GL_COLOR_SUM
|
||||
#define GL_COLOR_SUM 0x8458
|
||||
#endif
|
||||
|
||||
namespace osg {
|
||||
|
||||
|
||||
@@ -59,12 +65,6 @@ class StateSet;
|
||||
if (rhs.parameter<parameter) return 1;
|
||||
|
||||
|
||||
// define for the GL_EXT_secondary_color extension, GL_COLOR_SUM is OpenGL
|
||||
// mode to be used to enable and disable the second color.
|
||||
#ifndef GL_COLOR_SUM
|
||||
#define GL_COLOR_SUM 0x8458
|
||||
#endif
|
||||
|
||||
/** Base class for state attributes.
|
||||
*/
|
||||
class SG_EXPORT StateAttribute : public Object
|
||||
|
||||
Reference in New Issue
Block a user