diff options
| author | Markus Wick <degasus@users.noreply.github.com> | 2017-03-10 18:05:52 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-03-10 18:05:52 +0100 |
| commit | e99cd57eb3827b246ea712e031bac3ffe92fe109 (patch) | |
| tree | f12d83d565f2e36d785046ff5917814be50fe62b /Source/Core/VideoCommon/BPStructs.cpp | |
| parent | a3f5e3e27dacc40082346bbb00d41eddd61b16b9 (diff) | |
| parent | 3f41e6d4cf9f1a318c6d32fea4d2b422684961a3 (diff) | |
Merge pull request #4935 from Armada651/depth-range-fix
VideoBackends: Set the maximum range when the depth range is oversized.
Diffstat (limited to 'Source/Core/VideoCommon/BPStructs.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/BPStructs.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/BPStructs.cpp b/Source/Core/VideoCommon/BPStructs.cpp index 8384080099..774754839b 100644 --- a/Source/Core/VideoCommon/BPStructs.cpp +++ b/Source/Core/VideoCommon/BPStructs.cpp @@ -332,6 +332,8 @@ static void BPWritten(const BPCmd& bp) { if (bp.changes & 3) PixelShaderManager::SetZTextureTypeChanged(); + if (bp.changes & 12) + VertexShaderManager::SetViewportChanged(); #if defined(_DEBUG) || defined(DEBUGFAST) const char* pzop[] = {"DISABLE", "ADD", "REPLACE", "?"}; const char* pztype[] = {"Z8", "Z16", "Z24", "?"}; |
