mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 12:04:18 +02:00
warning
This commit is contained in:
parent
8163430282
commit
194b7d6655
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue