You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Add missing resource transition to slate
[CL 2749338 by Nick Penwarden in Main branch]
This commit is contained in:
committed by
Nick.Penwarden@epicgames.com
parent
799b048456
commit
15d40d9562
@@ -106,6 +106,7 @@ void FSlate3DRenderer::DrawWindowToTarget_RenderThread( FRHICommandListImmediate
|
||||
Info.bClearColor = true;
|
||||
ensure(ColorRTV.Texture->GetClearColor() == RenderTarget->ClearColor);
|
||||
|
||||
RHICmdList.TransitionResource(EResourceTransitionAccess::EWritable, RTResource);
|
||||
RHICmdList.SetRenderTargetsAndClear(Info);
|
||||
|
||||
FMatrix ProjectionMatrix = FSlateRHIRenderer::CreateProjectionMatrix( RenderTarget->SizeX, RenderTarget->SizeY );
|
||||
|
||||
Reference in New Issue
Block a user