diff options
author | Dave Parks <davep@lindenlab.com> | 2022-09-16 17:11:02 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2022-09-16 17:11:02 -0500 |
commit | ae17d1e9a02769b352d03446ce7f7b7ccd800aec (patch) | |
tree | a0d10ddc91ac9fbc35a7bae97f4cd4ba7007da97 /indra | |
parent | 09f3d6eaeea79aa2e46644cfb4badd11d429525b (diff) |
SL-18128 Restore 16-bit precision in screen render target.
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/pipeline.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index f8ab68e57d..7f42fb71e4 100644 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -892,7 +892,7 @@ bool LLPipeline::allocateScreenBuffer(U32 resX, U32 resY, U32 samples) if (!mRT->occlusionDepth.allocate(resX/occlusion_divisor, resY/occlusion_divisor, 0, TRUE, FALSE, LLTexUnit::TT_RECT_TEXTURE, FALSE, samples)) return false; if (!addDeferredAttachments(mRT->deferredScreen)) return false; - GLuint screenFormat = GL_RGBA; + GLuint screenFormat = GL_RGBA16; if (!mRT->screen.allocate(resX, resY, screenFormat, FALSE, FALSE, LLTexUnit::TT_RECT_TEXTURE, FALSE, samples)) return false; if (samples > 0) |