summaryrefslogtreecommitdiff
path: root/src/video/win32_v.h
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2021-02-20 11:15:15 +0100
committerPatric Stout <github@truebrain.nl>2021-02-20 17:08:44 +0100
commitec1dd0bf618f2c4fe17c62db9eec3b5e056574a0 (patch)
tree07ccc0fcb66cc6f73b01fc9e0cf1b29f6b82e7cb /src/video/win32_v.h
parent790fa7102ec934544b427dd5fa9fc4f7099fd4da (diff)
downloadopenttd-ec1dd0bf618f2c4fe17c62db9eec3b5e056574a0.tar.xz
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.
Diffstat (limited to 'src/video/win32_v.h')
-rw-r--r--src/video/win32_v.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/video/win32_v.h b/src/video/win32_v.h
index d51594418..695477085 100644
--- a/src/video/win32_v.h
+++ b/src/video/win32_v.h
@@ -49,12 +49,11 @@ protected:
void UnlockVideoBuffer() override;
void Paint() override;
void PaintThread() override;
+ void CheckPaletteAnim() override;
private:
std::unique_lock<std::recursive_mutex> draw_lock;
- void CheckPaletteAnim();
-
static void PaintThreadThunk(VideoDriver_Win32 *drv);
};