Skip to content

Commit

Permalink
fix a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhiqianXia committed Feb 25, 2021
1 parent 53e0e6a commit 47a2182
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glslang/MachineIndependent/Constant.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ TIntermTyped* TIntermConstantUnion::fold(TOperator op, const TType& returnType)
newConstArray[i].setDConst(log(unionArray[i].getDConst()));
break;
case EOpExp2:
newConstArray[i].setDConst(exp2(unionArray[i].getDConst());
newConstArray[i].setDConst(exp2(unionArray[i].getDConst()));
break;
case EOpLog2:
newConstArray[i].setDConst(log2(unionArray[i].getDConst()));
Expand Down

0 comments on commit 47a2182

Please sign in to comment.