diff options
author | michux <michux@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2009-03-30 21:10:07 +0000 |
---|---|---|
committer | michux <michux@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2009-03-30 21:10:07 +0000 |
commit | 7228a0e8c38fe01aad2356aee4922cffd6c5efe5 (patch) | |
tree | bf9102c78fe543a8f5e6ef99b9c27251912a1873 | |
parent | 485253143e580e0347c04a04cc40c3298dfea3a9 (diff) | |
download | lcd4linux-7228a0e8c38fe01aad2356aee4922cffd6c5efe5.tar.gz |
fix fps delay error
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1018 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to '')
-rw-r--r-- | drv_vnc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -349,7 +349,7 @@ static void drv_vnc_blit_it(const int row, const int col, const int height, cons sleep += SLEEP_STEPS; } - if (fps < maxfps && sleep > SLEEP_STEPS) { + if (fps < maxfps && sleep >= SLEEP_STEPS) { sleep -= SLEEP_STEPS; } } |