mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-28 21:26:07 +00:00
VideoConfig: Make StereoMode an enum class
Makes for more strongly-typed identifiers (and doesn't pollute surrounding namespaces)
This commit is contained in:
parent
10697bcbe3
commit
5337e58284
25 changed files with 78 additions and 74 deletions
|
@ -32,14 +32,14 @@ enum class AspectMode
|
|||
Stretch,
|
||||
};
|
||||
|
||||
enum StereoMode
|
||||
enum class StereoMode
|
||||
{
|
||||
STEREO_OFF = 0,
|
||||
STEREO_SBS,
|
||||
STEREO_TAB,
|
||||
STEREO_ANAGLYPH,
|
||||
STEREO_QUADBUFFER,
|
||||
STEREO_3DVISION
|
||||
Off,
|
||||
SBS,
|
||||
TAB,
|
||||
Anaglyph,
|
||||
QuadBuffer,
|
||||
Nvidia3DVision
|
||||
};
|
||||
|
||||
struct ProjectionHackConfig final
|
||||
|
@ -130,7 +130,7 @@ struct VideoConfig final
|
|||
int iSaveTargetId; // TODO: Should be dropped
|
||||
|
||||
// Stereoscopy
|
||||
int iStereoMode;
|
||||
StereoMode stereo_mode;
|
||||
int iStereoDepth;
|
||||
int iStereoConvergence;
|
||||
int iStereoConvergencePercentage;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue