summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/PixelShaderManager.cpp
diff options
context:
space:
mode:
authorMatthew Parlane <parlane@gmail.com>2012-12-24 12:58:15 +1300
committerMatthew Parlane <parlane@gmail.com>2012-12-24 12:58:15 +1300
commitf6418bd09357a528bc495f6854512586d76f28c6 (patch)
treece7748e276363190022f766f4e2d3664712f7c58 /Source/Core/VideoCommon/Src/PixelShaderManager.cpp
parentd9dd94ac8b696ceb0e6b32eaafcc302b41f43bd1 (diff)
parenteedca572702c7416805375bd652c56af8665d167 (diff)
Merge branch 'master' into wii-usb
Diffstat (limited to 'Source/Core/VideoCommon/Src/PixelShaderManager.cpp')
-rw-r--r--Source/Core/VideoCommon/Src/PixelShaderManager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/Src/PixelShaderManager.cpp b/Source/Core/VideoCommon/Src/PixelShaderManager.cpp
index 1533f9348e..f195cd805b 100644
--- a/Source/Core/VideoCommon/Src/PixelShaderManager.cpp
+++ b/Source/Core/VideoCommon/Src/PixelShaderManager.cpp
@@ -302,6 +302,7 @@ void PixelShaderManager::SetConstants()
float GC_ALIGNED16(material[4]);
float NormalizationCoef = 1 / 255.0f;
+ // TODO: This code is wrong. i goes out of range for xfregs.ambColor.
for (int i = 0; i < 4; ++i)
{
if (nMaterialsChanged & (1 << i))