avoid black flash when switching to movie
This commit is contained in:
parent
fc33059e6f
commit
0edb0bd6f7
1 changed files with 1 additions and 1 deletions
|
@ -384,7 +384,7 @@ int PlayMovie(const std::string &name)
|
|||
SDL_RenderClear(TheRenderer);
|
||||
SDL_SetRenderDrawColor(TheRenderer, 0, 0, 0, 255);
|
||||
SDL_RenderDrawRect(TheRenderer, NULL);
|
||||
SDL_RenderPresent(TheRenderer);
|
||||
// SDL_RenderPresent(TheRenderer);
|
||||
|
||||
MovieStop = false;
|
||||
const unsigned int start_ticks = SDL_GetTicks();
|
||||
|
|
Loading…
Add table
Reference in a new issue