Proper framerate

This commit is contained in:
Casey 2024-04-09 17:31:31 +03:00
parent 6aa7fb12b4
commit 20cc7fcfc7
Signed by: hkc
GPG Key ID: F0F6CFE11CDB0960
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ int main(void) {
cairo_paint(ctx.cairo);
}
cairo_flush(&ctx);
usleep(1000);
usleep(1000000 / 60.0);
}
return EXIT_SUCCESS;