Codechange: move all input-handling of video-drivers into InputLoop

This commit is contained in:
Patric Stout
2021-02-19 11:01:49 +01:00
committed by Patric Stout
parent 38b4ae1c0e
commit 661eb39ecc
11 changed files with 193 additions and 159 deletions

View File

@@ -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);