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

@@ -48,6 +48,7 @@ protected:
void UnlockVideoBuffer() override;
void Paint() override;
void PaintThread() override;
void CheckPaletteAnim();
private:
int PollEvent();
@@ -55,7 +56,6 @@ private:
void MainLoopCleanup();
bool CreateMainSurface(uint w, uint h, bool resize);
bool CreateMainWindow(uint w, uint h);
void CheckPaletteAnim();
#ifdef __EMSCRIPTEN__
/* Convert a constant pointer back to a non-constant pointer to a member function. */