Fix PrimBuild with non Fixed Function Pipeline.

This commit is contained in:
LuisAntonRebollo 2014-11-08 00:50:25 +01:00
parent c354f59b72
commit fa1b2d87b1
2 changed files with 13 additions and 0 deletions

View file

@ -868,6 +868,8 @@ public:
/// Sets the current stateblock (actually activated in ::updateStates)
virtual void setStateBlock( GFXStateBlock *block );
GFXStateBlock* getStateBlock() { return mNewStateBlock; }
/// This sets a stateblock directly from the description
/// structure. Its acceptable to use this for debug rendering
/// and other low frequency rendering tasks.