This website works better with JavaScript.
Home
Help
Sign In
lolengine
/
lol
mirror of
https://github.com/lolengine/lol
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
Fix the SDL timer behaviour. Fixes ticket
#26
.
legacy
Sam Hocevar
sam
14 years ago
parent
375d7ee14d
commit
46db0d51c8
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/timer.cpp
+ 1
- 1
src/timer.cpp
View File
@@ -77,7 +77,7 @@ private:
#else
/* The crappy SDL fallback */
Uint32 ticks = SDL_GetTicks();
ret =
1e-6f * (
ticks - ticks0
)
;
ret = ticks - ticks0;
if (update)
ticks0 = ticks;
towait = deltams - ret;
Write
Preview
Loading…
Cancel
Save