added poll event

This commit is contained in:
Pawel Kolodziejski 2003-12-13 09:30:01 +00:00
parent 981a81c2e1
commit 2585cfebec

View File

@ -295,6 +295,10 @@ void Smush::play(const char *filename, const char *directory) {
init();
while (!_videoFinished) {
SDL_Event event;
while (SDL_PollEvent(&event)) {
}
SDL_Delay(10);
};
}