Skip to content

Commit e65c426

Browse files
committed
Fix error in ExtraFPS merge
1 parent 652bc17 commit e65c426

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

indra/newview/pipeline.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -846,7 +846,7 @@ bool LLPipeline::allocateScreenBufferInternal(U32 resX, U32 resY)
846846
static LLCachedControl<bool> render_cas(gSavedSettings, "RenderCAS", true);
847847
if (shadow_detail > 0 || ssao || render_cas)
848848
{ //only need mRT->deferredLight for shadows OR ssao
849-
if (!mRT->deferredLight.allocate(resX, resY, GL_RGBA16F)) return false;
849+
if (!mRT->deferredLight.allocate(resX, resY, screenFormat)) return false;
850850
}
851851
else
852852
{

0 commit comments

Comments
 (0)