aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormichux <michux@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2009-03-30 21:10:07 +0000
committermichux <michux@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2009-03-30 21:10:07 +0000
commit7228a0e8c38fe01aad2356aee4922cffd6c5efe5 (patch)
treebf9102c78fe543a8f5e6ef99b9c27251912a1873
parent485253143e580e0347c04a04cc40c3298dfea3a9 (diff)
downloadlcd4linux-7228a0e8c38fe01aad2356aee4922cffd6c5efe5.tar.gz
fix fps delay error
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1018 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
-rw-r--r--drv_vnc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drv_vnc.c b/drv_vnc.c
index cd34d08..d0a8e2f 100644
--- a/drv_vnc.c
+++ b/drv_vnc.c
@@ -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;
}
}