diff --git a/.gitmodules b/.gitmodules index 6195055..8c10aa6 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,6 +1,7 @@ [submodule "glslang"] path = glslang - url = https://github.com/KhronosGroup/glslang.git + url = https://github.com/Antidote/glslang.git + branch = const-operators [submodule "logvisor"] path = logvisor url = ../logvisor.git diff --git a/glslang b/glslang index 9f46e3d..a727ad7 160000 --- a/glslang +++ b/glslang @@ -1 +1 @@ -Subproject commit 9f46e3dd5e11febbfbed971e74e10ed638e6578d +Subproject commit a727ad7335b060aac29f942a9e11f9e694bf5e83 diff --git a/lib/audiodev/LtRtProcessing.cpp b/lib/audiodev/LtRtProcessing.cpp index d7a8a07..c72e3d6 100644 --- a/lib/audiodev/LtRtProcessing.cpp +++ b/lib/audiodev/LtRtProcessing.cpp @@ -18,7 +18,7 @@ constexpr T ClampFull(float in) { if (in < MIN) return MIN; - else if (in > MAX) + else if (in > static_cast(MAX)) return MAX; else return in;