🐛 fix timing
This commit is contained in:
parent
c891b125ce
commit
9f9448faf1
1 changed files with 1 additions and 1 deletions
2
cscape.c
2
cscape.c
|
@ -113,7 +113,7 @@ void fly(SDL_Surface *screen) {
|
|||
if(SDL_MUSTLOCK(screen)) SDL_UnlockSurface(screen);
|
||||
SDL_UpdateRect(screen, 0, 0, WIDTH, HEIGHT);
|
||||
|
||||
usleep(1000/25);
|
||||
usleep(1000*1000/25);
|
||||
}
|
||||
|
||||
int main(void) {
|
||||
|
|
Reference in a new issue