Moved PROGRAMOBJECT definition into StateAttribute.
This commit is contained in:
@@ -163,7 +163,9 @@ class SG_EXPORT StateAttribute : public Object
|
||||
COLORMATRIX,
|
||||
|
||||
VERTEXPROGRAM,
|
||||
FRAGMENTPROGRAM
|
||||
FRAGMENTPROGRAM,
|
||||
|
||||
PROGRAMOBJECT // utilised in osgGL2/ProgramObject
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -32,9 +32,6 @@
|
||||
#include <string>
|
||||
|
||||
|
||||
// TODO This type enum must be officially added to osg::StateAttribute::Types
|
||||
#define PROGRAMOBJECT (osg::StateAttribute::VERTEXPROGRAM + 1)
|
||||
|
||||
namespace osgGL2 {
|
||||
|
||||
/** use deleteObject instead of glDeleteObject to allow
|
||||
|
||||
Reference in New Issue
Block a user