summaryrefslogtreecommitdiff
path: root/indra/newview/llvosky.h
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2018-09-12 17:27:04 -0700
committerRider Linden <rider@lindenlab.com>2018-09-12 17:27:04 -0700
commitf31b35cb5cba5cdf4985fa411ff45c43afa695b5 (patch)
treefdff2d80ac187846d7cf70f6a8e150b58c77a766 /indra/newview/llvosky.h
parent27a76a7e731bd13fb5d0862a932f40ea5c9c7119 (diff)
parenta21fa8664b596a6d3dd08d6d9a52bb41515bd159 (diff)
Merge
Diffstat (limited to 'indra/newview/llvosky.h')
-rw-r--r--indra/newview/llvosky.h12
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);
};