diff options
Diffstat (limited to 'linden/indra')
-rw-r--r-- | linden/indra/newview/llvosky.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/newview/llvosky.h b/linden/indra/newview/llvosky.h index 5e23065..08038a5 100644 --- a/linden/indra/newview/llvosky.h +++ b/linden/indra/newview/llvosky.h | |||
@@ -147,7 +147,7 @@ protected: | |||
147 | 147 | ||
148 | static S32 getResolution() { return sResolution; } | 148 | static S32 getResolution() { return sResolution; } |
149 | static S32 getCurrent() { return sCurrent; } | 149 | static S32 getCurrent() { return sCurrent; } |
150 | static S32 stepCurrent() { return (sCurrent = ++sCurrent % 2); } | 150 | static S32 stepCurrent() { sCurrent++; sCurrent&=1; return sCurrent; } |
151 | static S32 getNext() { return ((sCurrent+1) % 2); } | 151 | static S32 getNext() { return ((sCurrent+1) % 2); } |
152 | static S32 getWhich(const BOOL curr) { return curr ? sCurrent : getNext(); } | 152 | static S32 getWhich(const BOOL curr) { return curr ? sCurrent : getNext(); } |
153 | 153 | ||