Codechange: [SDL] Move dirty_rect to class scope.

This commit is contained in:
Michael Lutz
2021-02-21 19:16:18 +01:00
parent e75858ce5e
commit a77b202767
2 changed files with 6 additions and 7 deletions

View File

@@ -53,6 +53,7 @@ protected:
std::condition_variable_any *draw_signal = nullptr; ///< Signal to draw the next frame.
volatile bool draw_continue; ///< Should we keep continue drawing?
bool buffer_locked; ///< Video buffer was locked by the main thread.
Rect dirty_rect; ///< Rectangle encompassing the dirty area of the video buffer.
Dimension GetScreenSize() const override;
void InputLoop() override;