VideoConfigDiag: Add stereoscopy options group.

This commit is contained in:
Jules Blok
2014-10-30 23:29:56 +01:00
parent 4d9589b35f
commit 9b22e15180
12 changed files with 75 additions and 34 deletions

View File

@ -513,7 +513,7 @@ void VertexShaderManager::SetConstants()
memcpy(constants.projection, correctedMtx.data, 4*16);
}
if (g_ActiveConfig.bStereo && xfmem.projection.type == GX_PERSPECTIVE)
if (g_ActiveConfig.iStereoMode > 0 && xfmem.projection.type == GX_PERSPECTIVE)
{
float offset = g_ActiveConfig.iStereoSeparation / (200.0f * g_ActiveConfig.iStereoFocalLength);
constants.stereooffset[0] = offset;