diff options
| author | Lioncash <mathew1800@gmail.com> | 2017-11-10 22:21:37 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2017-11-10 22:23:15 -0500 |
| commit | 8e654528fc5021e3c3ad531dc0a69c9fcdb747b2 (patch) | |
| tree | f9a078820d7a428d9ceabc30cc18ebb3a8600ece /Source/Core/VideoCommon/VideoConfig.cpp | |
| parent | 126b7ea01caa6fd4eb884cda053ebb938f156c7f (diff) | |
VideoConfig: Add const specifier to IsVSync() member function
This member function doesn't alter VideoConfig's state.
Diffstat (limited to 'Source/Core/VideoCommon/VideoConfig.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VideoConfig.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/VideoConfig.cpp b/Source/Core/VideoCommon/VideoConfig.cpp index f561f94d37..5dbc3ef196 100644 --- a/Source/Core/VideoCommon/VideoConfig.cpp +++ b/Source/Core/VideoCommon/VideoConfig.cpp @@ -180,7 +180,7 @@ void VideoConfig::VerifyValidity() } } -bool VideoConfig::IsVSync() +bool VideoConfig::IsVSync() const { return bVSync && !Core::GetIsThrottlerTempDisabled(); } |
