diff options
-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; } } |