diff options
| author | simon <none@none> | 2013-05-09 15:30:49 -0700 |
|---|---|---|
| committer | simon <none@none> | 2013-05-09 15:30:49 -0700 |
| commit | 5687b0c4df5c28cb6aa6cb33cf0d2c4bbe1b912e (patch) | |
| tree | 8d1f9f3044adeb81778769fef0f57349fb5ca72f /indra/newview/lldrawpoolalpha.cpp | |
| parent | ee2fce8790b69d61845cc32fbf7cdce8a33b0dab (diff) | |
| parent | 50bbb0b7ed542a5f9dee4f347531537beecddd26 (diff) | |
Merge
Diffstat (limited to 'indra/newview/lldrawpoolalpha.cpp')
| -rwxr-xr-x | indra/newview/lldrawpoolalpha.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/lldrawpoolalpha.cpp b/indra/newview/lldrawpoolalpha.cpp index 6fa16825df..331744acb7 100755 --- a/indra/newview/lldrawpoolalpha.cpp +++ b/indra/newview/lldrawpoolalpha.cpp @@ -515,7 +515,8 @@ void LLDrawPoolAlpha::renderAlpha(U32 mask) // 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. if (current_shader && draw_glow_for_this_partition && - params.mVertexBuffer->hasDataType(LLVertexBuffer::TYPE_EMISSIVE)) + params.mVertexBuffer->hasDataType(LLVertexBuffer::TYPE_EMISSIVE) && + (!params.mParticle || params.mHasGlow)) { static LLFastTimer::DeclareTimer FTM_RENDER_ALPHA_GLOW("Alpha Glow"); LLFastTimer t(FTM_RENDER_ALPHA_GLOW); |
