mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 05:08:57 +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
|
@ -13,7 +13,7 @@ ShaderHostConfig ShaderHostConfig::GetCurrent()
|
|||
bits.msaa = g_ActiveConfig.iMultisamples > 1;
|
||||
bits.ssaa = g_ActiveConfig.iMultisamples > 1 && g_ActiveConfig.bSSAA &&
|
||||
g_ActiveConfig.backend_info.bSupportsSSAA;
|
||||
bits.stereo = g_ActiveConfig.iStereoMode > 0;
|
||||
bits.stereo = g_ActiveConfig.stereo_mode != StereoMode::Off;
|
||||
bits.wireframe = g_ActiveConfig.bWireFrame;
|
||||
bits.per_pixel_lighting = g_ActiveConfig.bEnablePixelLighting;
|
||||
bits.vertex_rounding = g_ActiveConfig.UseVertexRounding();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue