Merge pull request #9086 from jherico/disable_glow_line

Disable glow line temporarily while fixing implementation
This commit is contained in:
Brad Hefta-Gaub 2016-11-16 18:16:55 -08:00 committed by GitHub
commit 22303d8e5b

View file

@ -1593,7 +1593,10 @@ void GeometryCache::renderGlowLine(gpu::Batch& batch, const glm::vec3& p1, const
glowIntensity = 0.0f;
#endif
glowIntensity = 0.0f;
if (glowIntensity <= 0) {
bindSimpleProgram(batch, false, false, false, true, false);
renderLine(batch, p1, p2, color, id);
return;
}