From 7228a0e8c38fe01aad2356aee4922cffd6c5efe5 Mon Sep 17 00:00:00 2001 From: michux Date: Mon, 30 Mar 2009 21:10:07 +0000 Subject: fix fps delay error git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1018 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- drv_vnc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- cgit v1.2.3