From 194b7d6655339ef02f6122fd769df78d9a9ae22e Mon Sep 17 00:00:00 2001 From: SamGondelman Date: Mon, 14 Aug 2017 16:08:07 -0700 Subject: [PATCH] warning --- libraries/render-utils/src/GeometryCache.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/render-utils/src/GeometryCache.cpp b/libraries/render-utils/src/GeometryCache.cpp index d7cd860d50..1fb78d8cf3 100644 --- a/libraries/render-utils/src/GeometryCache.cpp +++ b/libraries/render-utils/src/GeometryCache.cpp @@ -1639,8 +1639,8 @@ void GeometryCache::renderGlowLine(gpu::Batch& batch, const glm::vec3& p1, const glowIntensity = 0.0f; #endif - if (glowIntensity <= 0) { - if (color.a >= 1.0) { + if (glowIntensity <= 0.0f) { + if (color.a >= 1.0f) { bindSimpleProgram(batch, false, false, false, true, true); } else { bindSimpleProgram(batch, false, true, false, true, true);