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 | 3a390a033d32778284a8b112f40f17ad2124add6 (patch) | |
tree | c1c22e50eb624f369ac1cbb24f7c2dce8e80df31 | |
parent | 5102882f4c9412c9f850b73a6202b48a6dce8d68 (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")) |