Add setter for TInterimSelection.condition

This commit is contained in:
Nicholas Barlow 2021-04-07 16:08:17 -07:00
parent 4099f44448
commit cb2287751f

View File

@ -1675,6 +1675,7 @@ public:
flatten(false), dontFlatten(false) {}
virtual void traverse(TIntermTraverser*);
virtual TIntermTyped* getCondition() const { return condition; }
virtual void setCondition(TIntermTyped* c) { condition = c; };
virtual TIntermNode* getTrueBlock() const { return trueBlock; }
virtual TIntermNode* getFalseBlock() const { return falseBlock; }
virtual TIntermSelection* getAsSelectionNode() { return this; }