diff options
author | Jacek Antonelli | 2008-09-06 18:24:57 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-09-06 18:25:07 -0500 |
commit | 798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch) | |
tree | 1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/llcommon/llframetimer.h | |
parent | Second Life viewer sources 1.20.15 (diff) | |
download | meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2 meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz |
Second Life viewer sources 1.21.0-RC
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 | ||