Skip to content

Commit 581849f

Browse files
committed
Actually fix the banding. Oopsie!
1 parent 479af0e commit 581849f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

indra/newview/pipeline.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -900,13 +900,13 @@ bool LLPipeline::allocateScreenBufferInternal(U32 resX, U32 resY)
900900

901901
GLuint screenFormat = hdr ? GL_RGBA16F : GL_RGBA;
902902

903-
if (!mRT->screen.allocate(resX, resY, screenFormat)) return false;
903+
if (!mRT->screen.allocate(resX, resY, GL_RGBA16F)) return false;
904904

905905
mRT->deferredScreen.shareDepthBuffer(mRT->screen);
906906

907907
if (hdr || shadow_detail > 0 || ssao || RenderDepthOfField || RlvActions::hasPostProcess())
908908
{ //only need mRT->deferredLight for hdr OR shadows OR ssao OR dof
909-
if (!mRT->deferredLight.allocate(resX, resY, GL_RGBA16F)) return false;
909+
if (!mRT->deferredLight.allocate(resX, resY, screenFormat)) return false;
910910
}
911911
else
912912
{

0 commit comments

Comments
 (0)