diff options
| author | skidau <skidau@gmail.com> | 2014-09-24 00:10:45 +1000 |
|---|---|---|
| committer | skidau <skidau@gmail.com> | 2014-09-24 00:10:45 +1000 |
| commit | b4399dbdf3a9380b5487753ac3dedf21daba2aed (patch) | |
| tree | 7b7308cab416fd0732abd2f3905e3e51e1f0faa4 /Source/Core | |
| parent | bdd185358685ed158450648b7660e1e6de662a36 (diff) | |
Fixed the "Undeclared identifier: uv0" OpenGL shader compile error that appears in NBA2K11.
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/VideoCommon/PixelShaderGen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/PixelShaderGen.cpp b/Source/Core/VideoCommon/PixelShaderGen.cpp index 8e90713fd0..dec20636a9 100644 --- a/Source/Core/VideoCommon/PixelShaderGen.cpp +++ b/Source/Core/VideoCommon/PixelShaderGen.cpp @@ -318,7 +318,7 @@ static inline void GeneratePixelShader(T& out, DSTALPHA_MODE dstAlphaMode, API_T // compute window position if needed because binding semantic WPOS is not widely supported // Let's set up attributes - for (unsigned int i = 0; i < xfmem.numTexGen.numTexGens; ++i) + for (unsigned int i = 0; i < numTexgen; ++i) { out.Write("centroid in float3 uv%d;\n", i); } |
