From 1235cc720db0b3392649f92752005e1ba36eb3fa Mon Sep 17 00:00:00 2001 From: Phillip Stephens Date: Wed, 22 Apr 2020 03:34:11 -0700 Subject: [PATCH] Update glslang using temporary branch, fix LtRtProcessing --- .gitmodules | 3 ++- glslang | 2 +- lib/audiodev/LtRtProcessing.cpp | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) 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;