Skip to content

Commit 1bd78c5

Browse files
committed
Merge branch 'master' of git://github.com/Shyotl/SingularityViewer
2 parents 8ad3b87 + fc4f0ea commit 1bd78c5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

indra/newview/lldrawpoolalpha.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@ void LLDrawPoolAlpha::renderAlpha(U32 mask, S32 pass)
598598
// If this alpha mesh has glow, then draw it a second time to add the destination-alpha (=glow). Interleaving these state-changing calls could be expensive, but glow must be drawn Z-sorted with alpha.
599599
if (current_shader &&
600600
draw_glow_for_this_partition &&
601-
params.mHasGlow && //only do this second pass for batches that actually have glow
601+
(!is_particle_or_hud_particle || params.mHasGlow) && //only do this second pass for batches that actually have glow
602602
params.mVertexBuffer->hasDataType(LLVertexBuffer::TYPE_EMISSIVE))
603603
{
604604
// install glow-accumulating blend mode

0 commit comments

Comments
 (0)