You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
UE4 - Static analysis fix
#rb none [FYI] Guillaume.Abadie #lockdown Nick.Penwarden #ROBOMERGE-OWNER: jason.bestimt #ROBOMERGE-AUTHOR: rolando.caloca #ROBOMERGE-SOURCE: CL 4627332 in //UE4/Main/... #ROBOMERGE-BOT: DEVVR (Main -> Dev-VR) [CL 4627443 by rolando caloca in Dev-VR branch]
This commit is contained in:
@@ -624,9 +624,12 @@ void FRDGBuilder::ExecutePass( const FRenderGraphPass* Pass )
|
||||
|
||||
AllocateAndTransitionPassResources(Pass, &RPInfo, &bHasRenderTargets);
|
||||
|
||||
if (RENDER_GRAPH_DRAW_EVENTS && GetEmitDrawEvents())
|
||||
if (RENDER_GRAPH_DRAW_EVENTS)
|
||||
{
|
||||
PushDrawEventStack(Pass);
|
||||
if (GetEmitDrawEvents())
|
||||
{
|
||||
PushDrawEventStack(Pass);
|
||||
}
|
||||
}
|
||||
|
||||
if( !Pass->IsCompute())
|
||||
@@ -649,9 +652,12 @@ void FRDGBuilder::ExecutePass( const FRenderGraphPass* Pass )
|
||||
RHICmdList.EndRenderPass();
|
||||
}
|
||||
|
||||
if (RENDER_GRAPH_DRAW_EVENTS && GetEmitDrawEvents())
|
||||
if (RENDER_GRAPH_DRAW_EVENTS)
|
||||
{
|
||||
RHICmdList.PopEvent();
|
||||
if (GetEmitDrawEvents())
|
||||
{
|
||||
RHICmdList.PopEvent();
|
||||
}
|
||||
}
|
||||
|
||||
if (RENDER_GRAPH_DEBUGGING)
|
||||
|
||||
Reference in New Issue
Block a user