diff options
| author | degasus <wickmarkus@web.de> | 2013-12-03 09:36:48 +0100 |
|---|---|---|
| committer | degasus <wickmarkus@web.de> | 2013-12-03 09:37:45 +0100 |
| commit | 2cbefa2905e712fcc5919f79f0e4216125fe1050 (patch) | |
| tree | de8b3354f7fe8c9070195c704593905bbcb9471a /Source/Core/VideoCommon/Src/PixelShaderManager.cpp | |
| parent | edc879ce488bfac5b14a81f7032334f0cba9d958 (diff) | |
PixelShaderManager: clear s_bViewPortChanged flag
This flag wasn't cleared at all, so we set our constants dirty every time...
This could fix some performance regressions because of revision 6798a4763e9c
Diffstat (limited to 'Source/Core/VideoCommon/Src/PixelShaderManager.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/Src/PixelShaderManager.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/Src/PixelShaderManager.cpp b/Source/Core/VideoCommon/Src/PixelShaderManager.cpp index 98722e48ce..270bc7d087 100644 --- a/Source/Core/VideoCommon/Src/PixelShaderManager.cpp +++ b/Source/Core/VideoCommon/Src/PixelShaderManager.cpp @@ -141,6 +141,7 @@ void PixelShaderManager::SetConstants(u32 components) constants.zbias[1][0] = xfregs.viewport.farZ / 16777216.0f; constants.zbias[1][1] = xfregs.viewport.zRange / 16777216.0f; dirty = true; + s_bViewPortChanged = false; } } |
