Flush fp after one complete frame

This commit is contained in:
Petr Baudis 2011-09-20 20:36:00 +02:00
parent 86890d1a4d
commit 9d81a9d0e7

View file

@ -261,6 +261,7 @@ void drawScreen(SDL_Surface* screen, int t, FILE* fp)
if (SDL_MUSTLOCK(screen)) SDL_UnlockSurface(screen);
SDL_Flip(screen);
fflush(fp);
}