diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llcommon/llframetimer.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/linden/indra/llcommon/llframetimer.h b/linden/indra/llcommon/llframetimer.h index 11c4cfc..d13018f 100644 --- a/linden/indra/llcommon/llframetimer.h +++ b/linden/indra/llcommon/llframetimer.h | |||
@@ -67,10 +67,14 @@ public: | |||
67 | return sTotalSeconds; | 67 | return sTotalSeconds; |
68 | } | 68 | } |
69 | 69 | ||
70 | // Call this method once per frame to update the current frame time. | 70 | // Call this method once per frame to update the current frame time. This is actually called |
71 | // at some other times as well | ||
71 | static void updateFrameTime(); | 72 | static void updateFrameTime(); |
72 | 73 | ||
73 | static S32 getFrameCount() { return sFrameCount; } | 74 | // Call this method once, and only once, per frame to update the current frame count. |
75 | static void updateFrameCount() { sFrameCount++; } | ||
76 | |||
77 | static U32 getFrameCount() { return sFrameCount; } | ||
74 | 78 | ||
75 | static F32 getFrameDeltaTimeF32(); | 79 | static F32 getFrameDeltaTimeF32(); |
76 | 80 | ||