Moved FOG_COORD and SECONDARY_COLOR #define's from State header into VertexArrayState.cpp

This commit is contained in:
Robert Osfield
2016-08-16 10:51:56 +01:00
parent 164981f7a3
commit 16da432be3
2 changed files with 22 additions and 19 deletions

View File

@@ -39,22 +39,6 @@
#include <set>
#include <string>
#ifndef GL_FOG_COORDINATE_ARRAY
#ifdef GL_FOG_COORDINATE_ARRAY_EXT
#define GL_FOG_COORDINATE_ARRAY GL_FOG_COORDINATE_ARRAY_EXT
#else
#define GL_FOG_COORDINATE_ARRAY 0x8457
#endif
#endif
#ifndef GL_SECONDARY_COLOR_ARRAY
#ifdef GL_SECONDARY_COLOR_ARRAY_EXT
#define GL_SECONDARY_COLOR_ARRAY GL_SECONDARY_COLOR_ARRAY_EXT
#else
#define GL_SECONDARY_COLOR_ARRAY 0x845E
#endif
#endif
namespace osg {
/** macro for use with osg::StateAttribute::apply methods for detecting and