- merged GLPortal into HWPortal after all direct OpenGL dependencies have been removed.

This commit is contained in:
Christoph Oelckers 2018-10-24 07:49:06 +02:00
commit c76c4b77ec
9 changed files with 183 additions and 196 deletions

View file

@ -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;