- merged GLPortal into HWPortal after all direct OpenGL dependencies have been removed.
This commit is contained in:
parent
d757efde96
commit
c76c4b77ec
9 changed files with 183 additions and 196 deletions
|
|
@ -314,7 +314,7 @@ void FDrawInfo::DrawHUDModel(HUDSprite *huds, FRenderState &state)
|
|||
|
||||
void FDrawInfo::RenderPortal(HWPortal *p, bool usestencil)
|
||||
{
|
||||
auto gp = static_cast<GLPortal *>(p);
|
||||
auto gp = static_cast<HWPortal *>(p);
|
||||
gp->SetupStencil(this, gl_RenderState, usestencil);
|
||||
auto new_di = StartDrawInfo(Viewpoint, &VPUniforms);
|
||||
new_di->mCurrentPortal = gp;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue