From cc8415b4f6e33ff244506b0e4af0f2264a6d8fbe Mon Sep 17 00:00:00 2001 From: Phillip Stephens Date: Sun, 10 Sep 2017 01:08:52 -0700 Subject: [PATCH] update boo --- hecl/extern/boo | 2 +- hecl/lib/Backend/GLSL.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/hecl/extern/boo b/hecl/extern/boo index 5bc17c753..ff3dca2b3 160000 --- a/hecl/extern/boo +++ b/hecl/extern/boo @@ -1 +1 @@ -Subproject commit 5bc17c753c0e15862423a7ae54fcdc1bd1b9c2e4 +Subproject commit ff3dca2b3af378990093d50de302d4587eafb985 diff --git a/hecl/lib/Backend/GLSL.cpp b/hecl/lib/Backend/GLSL.cpp index 0b0fb0380..dd66c50ca 100644 --- a/hecl/lib/Backend/GLSL.cpp +++ b/hecl/lib/Backend/GLSL.cpp @@ -136,6 +136,7 @@ std::string GLSL::GenerateReflectionExpr(ReflectionType type) const switch (type) { case ReflectionType::None: + default: return "vec3(0.0, 0.0, 0.0)"; case ReflectionType::Simple: return "texture(reflectionTex, vtf.reflectTcgs[1]).rgb * vtf.reflectAlpha";