diff options
| author | magumagu <magumagu9@gmail.com> | 2014-04-16 18:10:33 -0700 |
|---|---|---|
| committer | magumagu <magumagu9@gmail.com> | 2014-05-16 18:55:31 -0700 |
| commit | 8f5342c442c8e78784b4ea7002250781ba768767 (patch) | |
| tree | 061f1813280a80d999425369f001f019e310c33b /Source/Core/VideoCommon/PixelShaderManager.cpp | |
| parent | 818c89313e54bcf3de98b976c0da57c88a8588d2 (diff) | |
Video backend: merge global var xfmem into xfregs.
There isn't really any reason to keep them separate.
Diffstat (limited to 'Source/Core/VideoCommon/PixelShaderManager.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/PixelShaderManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/PixelShaderManager.cpp b/Source/Core/VideoCommon/PixelShaderManager.cpp index f03b6332ac..3b67b7a936 100644 --- a/Source/Core/VideoCommon/PixelShaderManager.cpp +++ b/Source/Core/VideoCommon/PixelShaderManager.cpp @@ -108,7 +108,7 @@ void PixelShaderManager::SetConstants() // lights don't have a 1 to 1 mapping, the color component needs to be converted to 4 floats int istart = nLightsChanged[0] / 0x10; int iend = (nLightsChanged[1] + 15) / 0x10; - const float* xfmemptr = (const float*)&xfmem.lights[0x10 * istart]; + const float* xfmemptr = (const float*)&xfregs.lights[0x10 * istart]; for (int i = istart; i < iend; ++i) { |
