aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}
}