summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VideoConfig.h
diff options
context:
space:
mode:
authorMerryMage <MerryMage@users.noreply.github.com>2017-06-11 14:37:18 +0100
committerMerryMage <MerryMage@users.noreply.github.com>2017-06-15 16:38:10 +0100
commitf8a99ca19253f9760d76faa909860d101b297952 (patch)
treeab259b91398ae7e559311afacce9c2fc9e091b2e /Source/Core/VideoCommon/VideoConfig.h
parent44f24205171e122f491b05c75ef24495a8e555f7 (diff)
VertexShaderManager: Rename projection hack variables
Diffstat (limited to 'Source/Core/VideoCommon/VideoConfig.h')
-rw-r--r--Source/Core/VideoCommon/VideoConfig.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/VideoConfig.h b/Source/Core/VideoCommon/VideoConfig.h
index 25c7fc7498..ef4c33fa43 100644
--- a/Source/Core/VideoCommon/VideoConfig.h
+++ b/Source/Core/VideoCommon/VideoConfig.h
@@ -50,6 +50,15 @@ enum StereoMode
STEREO_3DVISION
};
+struct ProjectionHackConfig final
+{
+ bool m_enable;
+ bool m_sznear;
+ bool m_szfar;
+ std::string m_znear;
+ std::string m_zfar;
+};
+
// NEVER inherit from this class.
struct VideoConfig final
{
@@ -119,8 +128,7 @@ struct VideoConfig final
bool bSkipEFBCopyToRam;
bool bCopyEFBScaled;
int iSafeTextureCache_ColorSamples;
- int iPhackvalue[3];
- std::string sPhackvalue[2];
+ ProjectionHackConfig phack;
float fAspectRatioHackW, fAspectRatioHackH;
bool bEnablePixelLighting;
bool bFastDepthCalc;