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

@ -49,6 +49,8 @@ struct CameraQuery
Point3F eyeOffset[2];
MatrixF eyeTransforms[2];
bool ortho;
bool hasFovPort;
bool hasStereoTargets;
MatrixF cameraMatrix;
RectI stereoViewports[2]; // destination viewports
GFXTextureTarget* stereoTargets[2];