Added tests for presense of extensions to osgcubemap, osgvertexproram and

osgmultitexture examples.

Added osg::VertexProgram::Extensions class to better handle multiple graphics
context vertex program extensions.
This commit is contained in:
Robert Osfield
2003-04-10 19:32:32 +00:00
parent 52d2d8eaff
commit aaa761e333
8 changed files with 225 additions and 24 deletions

View File

@@ -215,10 +215,10 @@ class SG_EXPORT StateAttribute : public Object
* in to allow the StateAttribute to obtain details on the
* the current context and state.
*/
virtual void apply(State&) const = 0 ;
virtual void apply(State&) const = 0;
/** default to nothing to compile - all state is applied immediately. */
virtual void compile(State&) const {};
virtual void compile(State&) const {}
protected: