Use correct multiplication order for eye transform. Also fix displayDevice not set bug.

This commit is contained in:
James Urquhart 2016-05-08 18:18:04 +01:00
parent 9e5eda9a08
commit 9f49a7844e
2 changed files with 7 additions and 2 deletions

View file

@ -529,6 +529,8 @@ void GuiTSCtrl::onRender(Point2I offset, const RectI &updateRect)
GFXTransformSaver saver;
bool renderingToTarget = false;
mLastCameraQuery.displayDevice = NULL;
if (!processCameraQuery(&mLastCameraQuery))
{
// We have no camera, but render the GUI children