diff options
author | Patric Stout <truebrain@openttd.org> | 2021-02-19 11:01:49 +0100 |
---|---|---|
committer | Patric Stout <github@truebrain.nl> | 2021-02-20 17:08:44 +0100 |
commit | 661eb39ecc3a128c24dbbc4f53d1c075fe89bc93 (patch) | |
tree | c579f44c8186f43169138cafce3ed02d38baf2ef /src/video/sdl_v.h | |
parent | 38b4ae1c0ea05944cda66a499454a5b08a7a4462 (diff) | |
download | openttd-661eb39ecc3a128c24dbbc4f53d1c075fe89bc93.tar.xz |
Codechange: move all input-handling of video-drivers into InputLoop
Diffstat (limited to 'src/video/sdl_v.h')
-rw-r--r-- | src/video/sdl_v.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video/sdl_v.h b/src/video/sdl_v.h index ffebd041e..1d3da9b6a 100644 --- a/src/video/sdl_v.h +++ b/src/video/sdl_v.h @@ -36,6 +36,10 @@ public: bool ClaimMousePointer() override; const char *GetName() const override { return "sdl"; } + +protected: + void InputLoop() override; + private: int PollEvent(); bool CreateMainSurface(uint w, uint h); |