]> git.webhop.me Git - lcd4linux.git/commitdiff
fix fps delay error
authormichux <michux@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Mon, 30 Mar 2009 21:10:07 +0000 (21:10 +0000)
committermichux <michux@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Mon, 30 Mar 2009 21:10:07 +0000 (21:10 +0000)
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1018 3ae390bd-cb1e-0410-b409-cd5a39f66f1f

drv_vnc.c

index cd34d089e244b942a570ff8273f0f0cd80cac6ea..d0a8e2f7fbe406f325d5449d51c028407303ea3c 100644 (file)
--- 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;
        }
     }