Codechange: be consistent in what CheckPaletteAnim() does and when it is called

Additionally, make sure this is a class method. Later commits
will make use of this.
This commit is contained in:
Patric Stout
2021-02-20 11:15:15 +01:00
committed by Patric Stout
parent 790fa7102e
commit ec1dd0bf61
10 changed files with 16 additions and 17 deletions

View File

@@ -853,8 +853,6 @@ void VideoDriver_SDL::MainLoop()
last_realtime_tick = cur_ticks;
next_game_tick = cur_ticks;
this->CheckPaletteAnim();
if (_draw_threaded) {
/* Initialise the mutex first, because that's the thing we *need*
* directly in the newly created thread. */