- 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:
parent
c3d5b960ee
commit
491898fe2c
4 changed files with 10 additions and 9 deletions
|
|
@ -377,7 +377,7 @@ void OpenGLFrameBuffer::SetViewportRects(IntRect *bounds)
|
|||
if (!bounds)
|
||||
{
|
||||
auto vrmode = VRMode::GetVRMode(true);
|
||||
vrmode->AdjustViewport();
|
||||
vrmode->AdjustViewport(this);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue