- moved the current portal pointer to HWDrawInfo so that the portal managed does not need to save and restore a global variable for each portal.

This commit is contained in:
Christoph Oelckers 2018-06-23 13:51:19 +02:00
commit 1cf3af9c41
7 changed files with 4 additions and 11 deletions

View file

@ -86,7 +86,6 @@ extern bool NoInterpolateView;
FGLRenderer::FGLRenderer(OpenGLFrameBuffer *fb)
{
framebuffer = fb;
mCurrentPortal = nullptr;
mMirrorCount = 0;
mPlaneMirrorCount = 0;
mVBO = nullptr;