From f73676edead2ffa4f8f9c45cf8c84cefa1f6a365 Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Wed, 18 Nov 2009 21:37:24 -0600 Subject: Fixed a compile blocker in LLVoSky::stepCurrent(). --- linden/indra/newview/llvosky.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linden/indra') 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: static S32 getResolution() { return sResolution; } static S32 getCurrent() { return sCurrent; } - static S32 stepCurrent() { return (sCurrent = ++sCurrent % 2); } + static S32 stepCurrent() { return (sCurrent = (sCurrent+1) % 2); } static S32 getNext() { return ((sCurrent+1) % 2); } static S32 getWhich(const BOOL curr) { return curr ? sCurrent : getNext(); } -- cgit v1.1