This commit is contained in:
SamGondelman 2017-08-14 16:08:07 -07:00
parent 8163430282
commit 194b7d6655

View file

@ -1639,8 +1639,8 @@ void GeometryCache::renderGlowLine(gpu::Batch& batch, const glm::vec3& p1, const
glowIntensity = 0.0f; glowIntensity = 0.0f;
#endif #endif
if (glowIntensity <= 0) { if (glowIntensity <= 0.0f) {
if (color.a >= 1.0) { if (color.a >= 1.0f) {
bindSimpleProgram(batch, false, false, false, true, true); bindSimpleProgram(batch, false, false, false, true, true);
} else { } else {
bindSimpleProgram(batch, false, true, false, true, true); bindSimpleProgram(batch, false, true, false, true, true);