summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorGraham Madarasz <graham@lindenlab.com>2013-06-09 09:38:45 -0700
committerGraham Madarasz <graham@lindenlab.com>2013-06-09 09:38:45 -0700
commite38514f9fdb79efa77a1cf41cb4288e4cfbce932 (patch)
tree6d4173c5fa0e418f5beda283d5b7963dba3cdb48 /indra/newview
parentc120feb18d2b98abf6071846d2806da16b710632 (diff)
NORSPEC-246 WIP Fix macro bug that slipped past due to MSVC promiscuity
Diffstat (limited to 'indra/newview')
-rwxr-xr-xindra/newview/llviewershadermgr.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llviewershadermgr.cpp b/indra/newview/llviewershadermgr.cpp
index ff9b28bc37..a27621ecdc 100755
--- a/indra/newview/llviewershadermgr.cpp
+++ b/indra/newview/llviewershadermgr.cpp
@@ -50,7 +50,7 @@
#define SINGLE_FP_PERMUTATION(shader) \
if (gGLManager.mIsMobileGF) \
{ \
- shader[i].addPermutation("SINGLE_FP_ONLY","1"); \
+ shader.addPermutation("SINGLE_FP_ONLY","1"); \
}
@@ -1304,7 +1304,7 @@ BOOL LLViewerShaderMgr::loadShadersDeferred()
bool has_skin = i & 0x10;
gDeferredMaterialProgram[i].addPermutation("HAS_SKIN",has_skin ? "1" : "0");
- SINGLE_FP_PERMUTATION(gDeferredMaterialProgram);
+ SINGLE_FP_PERMUTATION(gDeferredMaterialProgram[i]);
if (has_skin)
{