diff options
author | Rider Linden <rider@lindenlab.com> | 2018-09-12 17:27:04 -0700 |
---|---|---|
committer | Rider Linden <rider@lindenlab.com> | 2018-09-12 17:27:04 -0700 |
commit | f31b35cb5cba5cdf4985fa411ff45c43afa695b5 (patch) | |
tree | fdff2d80ac187846d7cf70f6a8e150b58c77a766 /indra/newview/llvosky.h | |
parent | 27a76a7e731bd13fb5d0862a932f40ea5c9c7119 (diff) | |
parent | a21fa8664b596a6d3dd08d6d9a52bb41515bd159 (diff) |
Merge
Diffstat (limited to 'indra/newview/llvosky.h')
-rw-r--r-- | indra/newview/llvosky.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/indra/newview/llvosky.h b/indra/newview/llvosky.h index a6f361f5be..ed190892fe 100644 --- a/indra/newview/llvosky.h +++ b/indra/newview/llvosky.h @@ -74,11 +74,11 @@ protected: ~LLSkyTex(); - static S32 getResolution() { return sResolution; } - static S32 getCurrent() { return sCurrent; } - static S32 stepCurrent() { sCurrent++; sCurrent &= 1; return sCurrent; } - static S32 getNext() { return ((sCurrent+1) & 1); } - static S32 getWhich(const BOOL curr) { return curr ? sCurrent : getNext(); } + static S32 getResolution(); + static S32 getCurrent(); + static S32 stepCurrent(); + static S32 getNext(); + static S32 getWhich(const BOOL curr); void initEmpty(const S32 tex); @@ -118,7 +118,7 @@ protected: return col; } - LLImageRaw* getImageRaw(BOOL curr=TRUE) { return mImageRaw[getWhich(curr)]; } + LLImageRaw* getImageRaw(BOOL curr=TRUE); void createGLImage(BOOL curr=TRUE); }; |