- portals are now completely on the hwrenderer side.

The only thing that still needs to be on the backend side is the one function that manages the rendering.
This commit is contained in:
Christoph Oelckers 2018-10-25 00:25:55 +02:00
commit 3940f17980
18 changed files with 544 additions and 653 deletions

View file

@ -362,3 +362,9 @@ void FGLRenderState::ApplyBlendMode()
}
}
// Needs to be redone
void FGLRenderState::SetVertexBuffer(int which)
{
SetVertexBuffer(which == VB_Sky ? (FVertexBuffer*)GLRenderer->mSkyVBO : GLRenderer->mVBO);
}