- added a RenderState virtual to the FrameBuffer class.
This commit is contained in:
parent
70d30feb4c
commit
90585c4931
7 changed files with 22 additions and 1 deletions
|
|
@ -584,7 +584,7 @@ void VulkanFrameBuffer::DrawScene(HWDrawInfo *di, int drawmode)
|
|||
}
|
||||
|
||||
GetRenderState()->SetDepthMask(true);
|
||||
if (!gl_no_skyclear) screen->mPortalState->RenderFirstSkyPortal(recursion, di, *GetRenderState());
|
||||
if (!gl_no_skyclear) mPortalState->RenderFirstSkyPortal(recursion, di, *GetRenderState());
|
||||
|
||||
di->RenderScene(*GetRenderState());
|
||||
|
||||
|
|
@ -995,3 +995,8 @@ void VulkanFrameBuffer::UpdateShadowMap()
|
|||
{
|
||||
mPostprocess->UpdateShadowMap();
|
||||
}
|
||||
|
||||
FRenderState* VulkanFrameBuffer::RenderState()
|
||||
{
|
||||
return mRenderState.get();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue