mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-25 07:21:14 +01:00
VideoConfig: Fix convergence parameter.
Looks like a rebase failed somewhere.
This commit is contained in:
parent
813b3808a7
commit
da058b3078
@ -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…
x
Reference in New Issue
Block a user