From 47a21828bd7538b1b4221e5747677910343b97c3 Mon Sep 17 00:00:00 2001 From: ZhiqianXia Date: Thu, 25 Feb 2021 15:37:40 +0800 Subject: [PATCH] fix a typo --- glslang/MachineIndependent/Constant.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glslang/MachineIndependent/Constant.cpp b/glslang/MachineIndependent/Constant.cpp index cbf500d0..8dc04a42 100644 --- a/glslang/MachineIndependent/Constant.cpp +++ b/glslang/MachineIndependent/Constant.cpp @@ -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()));