diff options
author | Graham Madarasz <graham@lindenlab.com> | 2013-04-19 07:48:05 -0700 |
---|---|---|
committer | Graham Madarasz <graham@lindenlab.com> | 2013-04-19 07:48:05 -0700 |
commit | 6adc6d71a7147a7f53f266bb05cd0157e34f9f4b (patch) | |
tree | ad3b8886cd2c09cc1510db6a8c2e2e87ffafb441 /indra/newview/pipeline.cpp | |
parent | 8bccedd163f1eb25c631e8501bdd468c24e6bf40 (diff) | |
parent | f9ff68b5e3b016a53fe987e5b51442741ca88f15 (diff) |
Merge viewer-dev-materials
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rw-r--r-- | indra/newview/pipeline.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index 75c6480a95..4071e80ca1 100644 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -398,7 +398,7 @@ void validate_framebuffer_object(); bool addDeferredAttachments(LLRenderTarget& target) { - return target.addColorAttachment(GL_RGBA) && //specular + return target.addColorAttachment(GL_SRGB8_ALPHA8) && //specular target.addColorAttachment(GL_RGB10_A2); //normal+z } @@ -9488,7 +9488,6 @@ void LLPipeline::generateSunShadow(LLCamera& camera) //currently used for amount to extrude frusta corners for constructing shadow frusta LLVector3 n = RenderShadowNearDist; - (void)n; //F32 nearDist[] = { n.mV[0], n.mV[1], n.mV[2], n.mV[2] }; //put together a universal "near clip" plane for shadow frusta |