aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llvosky.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llvosky.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/newview/llvosky.h b/linden/indra/newview/llvosky.h
index dabf5b1..5e23065 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() { sCurrent++; sCurrent&=1; return sCurrent; } 150 static S32 stepCurrent() { return (sCurrent = ++sCurrent % 2); }
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
@@ -492,7 +492,7 @@ public:
492 492
493 // Graphical stuff for objects - maybe broken out into render class 493 // Graphical stuff for objects - maybe broken out into render class
494 // later? 494 // later?
495 /*virtual*/ void updateTextures(); 495 /*virtual*/ void updateTextures(LLAgent &agent);
496 /*virtual*/ LLDrawable* createDrawable(LLPipeline *pipeline); 496 /*virtual*/ LLDrawable* createDrawable(LLPipeline *pipeline);
497 /*virtual*/ BOOL updateGeometry(LLDrawable *drawable); 497 /*virtual*/ BOOL updateGeometry(LLDrawable *drawable);
498 498