Basic fix for stereo rendering without a display device

This commit is contained in:
James Urquhart 2015-06-21 20:59:41 +01:00
parent 8a55feebef
commit efc47ed757
6 changed files with 104 additions and 30 deletions

View file

@ -606,7 +606,7 @@ void PlaneReflector::updateReflection( const ReflectParams &params )
RectI originalVP = GFX->getViewport();
Point2F projOffset = GFX->getCurrentProjectionOffset();
const FovPort *currentFovPort = GFX->getSteroFovPort();
const FovPort *currentFovPort = GFX->getStereoFovPort();
MatrixF inverseEyeTransforms[2];
// Calculate world transforms for eyes