From dc8b1d0264c8c2640b004632c07279c7b76e614f Mon Sep 17 00:00:00 2001 From: Evgeny Proydakov Date: Tue, 15 Dec 2020 18:05:32 +0300 Subject: [PATCH] Fixed compile warning in reflection.cpp for ENABLE_HLSL = 0 build. [-Wunused-parameter] --- glslang/MachineIndependent/reflection.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/glslang/MachineIndependent/reflection.cpp b/glslang/MachineIndependent/reflection.cpp index 72950029..9870a400 100644 --- a/glslang/MachineIndependent/reflection.cpp +++ b/glslang/MachineIndependent/reflection.cpp @@ -1138,6 +1138,8 @@ void TReflection::buildCounterIndices(const TIntermediate& intermediate) if (index >= 0) indexToUniformBlock[i].counterIndex = index; } +#else + (void)intermediate; #endif }