diff options
author | taw27 <taw27@84d2e878-0bd5-11dd-ad15-13eda11d74c5> | 2008-06-05 23:49:11 +0000 |
---|---|---|
committer | taw27 <taw27@84d2e878-0bd5-11dd-ad15-13eda11d74c5> | 2008-06-05 23:49:11 +0000 |
commit | d6ae2809f0a74e9cab6a684d5f549411827169c8 (patch) | |
tree | b21faf6f07ff2a9f0c278cfe244c246cefdfcc66 /src | |
parent | 21f6b0d784ef8d1c689473764e4bd8c7980c369f (diff) |
Correct the theoretical maximum framerate
git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@79 84d2e878-0bd5-11dd-ad15-13eda11d74c5
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -227,7 +227,7 @@ int main(int argc, char *argv[]) { game->t_fps = t; game->frames = 0; } - game->radiation = game->fps / 50.0; + game->radiation = game->fps / 40.0; /* Sleep for a bit to avoid hogging the CPU. * This is a fudge - ideally this delay would adapt so that the CPU is not hogged when the GPU is the |