mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-24 14:24:54 +00:00
VideoConfig: Fix convergence parameter.
Looks like a rebase failed somewhere.
This commit is contained in:
parent
813b3808a7
commit
da058b3078
2 changed files with 1 additions and 3 deletions
|
@ -56,7 +56,7 @@ void GeometryShaderManager::SetConstants()
|
|||
float offset = (g_ActiveConfig.iStereoDepth / 1000.0f) * (g_ActiveConfig.iStereoDepthPercentage / 100.0f);
|
||||
constants.stereoparams[0] = g_ActiveConfig.bStereoSwapEyes ? offset : -offset;
|
||||
constants.stereoparams[1] = g_ActiveConfig.bStereoSwapEyes ? -offset : offset;
|
||||
constants.stereoparams[2] = g_ActiveConfig.iStereoConvergence * (g_ActiveConfig.iStereoConvergencePercent / 100.0f);
|
||||
constants.stereoparams[2] = g_ActiveConfig.iStereoConvergence * (g_ActiveConfig.iStereoConvergencePercentage / 100.0f);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -127,8 +127,6 @@ struct VideoConfig final
|
|||
|
||||
// Stereoscopy
|
||||
bool bStereoEFBMonoDepth;
|
||||
int iStereoSeparationPercent;
|
||||
int iStereoConvergencePercent;
|
||||
int iStereoDepthPercentage;
|
||||
int iStereoConvergencePercentage;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue