mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-19 13:46:13 +00:00
Fixed Linux build failure because a temporary pointer was passed, ref #43
This commit is contained in:
parent
c3490a2ee4
commit
6c049ae905
1 changed files with 4 additions and 2 deletions
|
@ -1399,7 +1399,8 @@ bool mainLoop()
|
||||||
StereoDisplay->updateCamera(0, &MainCam);
|
StereoDisplay->updateCamera(0, &MainCam);
|
||||||
if (SceneRoot)
|
if (SceneRoot)
|
||||||
{
|
{
|
||||||
StereoDisplay->updateCamera(1, &SceneRoot->getCam());
|
UCamera cam = SceneRoot->getCam();
|
||||||
|
StereoDisplay->updateCamera(1, &cam);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1624,7 +1625,8 @@ bool mainLoop()
|
||||||
if (SceneRoot)
|
if (SceneRoot)
|
||||||
{
|
{
|
||||||
// matrix updated during commitCamera from maincam
|
// matrix updated during commitCamera from maincam
|
||||||
StereoDisplay->getCurrentFrustum(1, &SceneRoot->getCam());
|
UCamera cam = SceneRoot->getCam();
|
||||||
|
StereoDisplay->getCurrentFrustum(1, &cam);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue