- fixed calculation of projection matrix for weapon sprites.

- fixed color mask for green/magenta.
- fixed crash when initializing video, because it was accessing 'screen' before it was set from within the framebuffer's constructor.
This commit is contained in:
Christoph Oelckers 2018-06-24 17:15:27 +02:00
commit 491898fe2c
4 changed files with 10 additions and 9 deletions

View file

@ -377,7 +377,7 @@ void OpenGLFrameBuffer::SetViewportRects(IntRect *bounds)
if (!bounds)
{
auto vrmode = VRMode::GetVRMode(true);
vrmode->AdjustViewport();
vrmode->AdjustViewport(this);
}
}