Skip to content

Commit

Permalink
Add setters for true and false blocks of selection nodes, copying the…
Browse files Browse the repository at this point in the history
… pattern already used for the condition.
  • Loading branch information
syntheticmagus committed May 29, 2021
1 parent 6bdcb4b commit ec73737
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions glslang/Include/intermediate.h
Original file line number Diff line number Diff line change
Expand Up @@ -1677,7 +1677,9 @@ class TIntermSelection : public TIntermTyped {
virtual TIntermTyped* getCondition() const { return condition; }
virtual void setCondition(TIntermTyped* c) { condition = c; }
virtual TIntermNode* getTrueBlock() const { return trueBlock; }
virtual void setTrueBlock(TIntermTyped* tb) { trueBlock = tb; }
virtual TIntermNode* getFalseBlock() const { return falseBlock; }
virtual void setFalseBlock(TIntermTyped* fb) { falseBlock = fb; }
virtual TIntermSelection* getAsSelectionNode() { return this; }
virtual const TIntermSelection* getAsSelectionNode() const { return this; }

Expand Down

0 comments on commit ec73737

Please sign in to comment.