- made sysCallbacks a value variable instead of a pointer to simplify the checks for it.
This commit is contained in:
parent
1b3ef19100
commit
ff62d7a8a3
20 changed files with 34 additions and 35 deletions
|
|
@ -200,7 +200,7 @@ void DFrameBuffer::SetViewportRects(IntRect *bounds)
|
|||
mScreenViewport.height = screenHeight;
|
||||
|
||||
// Viewport for the 3D scene
|
||||
if (sysCallbacks && sysCallbacks->GetSceneRect) mSceneViewport = sysCallbacks->GetSceneRect();
|
||||
if (sysCallbacks.GetSceneRect) mSceneViewport = sysCallbacks.GetSceneRect();
|
||||
else mSceneViewport = mScreenViewport;
|
||||
|
||||
// Scale viewports to fit letterbox
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue