diff options
author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-05-09 13:49:41 +0100 |
---|---|---|
committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-05-09 13:49:41 +0100 |
commit | 8f2ba1df9d93b723f64726c48a66b6ffe4228b08 (patch) | |
tree | c1c22e50eb624f369ac1cbb24f7c2dce8e80df31 | |
parent | 7539836bc960f9435d7712f71ae9a7d4b0df1c0b (diff) |
followup for glow glitch caused by EXT-7179 fix
-rw-r--r-- | indra/newview/pipeline.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index 05f14ff8f4..7b7a551fb3 100644 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -6577,7 +6577,9 @@ void LLPipeline::renderDeferredLighting() else { mScreen.bindTarget(); - // clear color buffer here? doesn't seem to matter. + // clear color buffer here - zeroing alpha (glow) is important or it will accumulate against sky + glClearColor(0,0,0,0); + mScreen.clear(GL_COLOR_BUFFER_BIT); } if (gSavedSettings.getBOOL("RenderDeferredAtmospheric")) |