Codechange: use (Un)LockVideoBuffer() to manage video buffer

This commit is contained in:
Patric Stout
2021-02-20 10:49:27 +01:00
committed by Patric Stout
parent 661eb39ecc
commit 761efbb457
7 changed files with 80 additions and 24 deletions

View File

@@ -44,6 +44,8 @@ public:
protected:
Dimension GetScreenSize() const override;
void InputLoop() override;
bool LockVideoBuffer() override;
void UnlockVideoBuffer() override;
private:
int PollEvent();