mirror of
https://github.com/brmlab/ledbar.git
synced 2025-06-10 13:53:59 +02:00
Flush fp after one complete frame
This commit is contained in:
parent
86890d1a4d
commit
9d81a9d0e7
1 changed files with 1 additions and 0 deletions
|
@ -261,6 +261,7 @@ void drawScreen(SDL_Surface* screen, int t, FILE* fp)
|
||||||
|
|
||||||
if (SDL_MUSTLOCK(screen)) SDL_UnlockSurface(screen);
|
if (SDL_MUSTLOCK(screen)) SDL_UnlockSurface(screen);
|
||||||
SDL_Flip(screen);
|
SDL_Flip(screen);
|
||||||
|
fflush(fp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue