- 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:
parent
282fdac660
commit
1cf3af9c41
7 changed files with 4 additions and 11 deletions
|
|
@ -86,7 +86,6 @@ extern bool NoInterpolateView;
|
|||
FGLRenderer::FGLRenderer(OpenGLFrameBuffer *fb)
|
||||
{
|
||||
framebuffer = fb;
|
||||
mCurrentPortal = nullptr;
|
||||
mMirrorCount = 0;
|
||||
mPlaneMirrorCount = 0;
|
||||
mVBO = nullptr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue