- merged the nearly identical wrapper texture classes for the software render and the wiper.
This commit is contained in:
parent
6dc47ff328
commit
98e111eba0
7 changed files with 29 additions and 45 deletions
|
|
@ -437,7 +437,6 @@ void FGLRenderer::Draw2D(F2DDrawer *drawer)
|
|||
if (VRMode::GetVRMode(true)->mEyeCount == 1)
|
||||
mBuffers->BindCurrentFB();
|
||||
|
||||
FDrawInfo di; // For access to the virtual interface. This should be placed elsewhere...
|
||||
const auto &mScreenViewport = screen->mScreenViewport;
|
||||
glViewport(mScreenViewport.left, mScreenViewport.top, mScreenViewport.width, mScreenViewport.height);
|
||||
screen->mViewpoints->Set2D(gl_RenderState, screen->GetWidth(), screen->GetHeight());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue