mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00:00
VideoConfigDiag: Add stereoscopy options group.
This commit is contained in:
parent
4d9589b35f
commit
9b22e15180
12 changed files with 75 additions and 34 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue