aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llvosky.h
diff options
context:
space:
mode:
authorJacek Antonelli2009-11-18 21:37:24 -0600
committerMcCabe Maxsted2009-11-18 21:25:32 -0700
commit5132fe32f8a514edcd110f8d94340ed9406cb7f8 (patch)
treed0fa4aeaf989aaf29246bd43021c426475b9d8c7 /linden/indra/newview/llvosky.h
parentCleaned up a harmless bad merge in llimagej2coj.cpp (diff)
parentFixed a compile blocker in LLVoSky::stepCurrent(). (diff)
downloadmeta-impy-5132fe32f8a514edcd110f8d94340ed9406cb7f8.zip
meta-impy-5132fe32f8a514edcd110f8d94340ed9406cb7f8.tar.gz
meta-impy-5132fe32f8a514edcd110f8d94340ed9406cb7f8.tar.bz2
meta-impy-5132fe32f8a514edcd110f8d94340ed9406cb7f8.tar.xz
Fixed a compile blocker in LLVoSky::stepCurrent().
Diffstat (limited to 'linden/indra/newview/llvosky.h')
-rw-r--r--linden/indra/newview/llvosky.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/newview/llvosky.h b/linden/indra/newview/llvosky.h
index 25c075e..efe5ef9 100644
--- a/linden/indra/newview/llvosky.h
+++ b/linden/indra/newview/llvosky.h
@@ -146,7 +146,7 @@ protected:
146 146
147 static S32 getResolution() { return sResolution; } 147 static S32 getResolution() { return sResolution; }
148 static S32 getCurrent() { return sCurrent; } 148 static S32 getCurrent() { return sCurrent; }
149 static S32 stepCurrent() { return (sCurrent = ++sCurrent % 2); } 149 static S32 stepCurrent() { return (sCurrent = (sCurrent+1) % 2); }
150 static S32 getNext() { return ((sCurrent+1) % 2); } 150 static S32 getNext() { return ((sCurrent+1) % 2); }
151 static S32 getWhich(const BOOL curr) { return curr ? sCurrent : getNext(); } 151 static S32 getWhich(const BOOL curr) { return curr ? sCurrent : getNext(); }
152 152