Codechange: [OpenGL] Only update the dirty parts of the video buffer texture.

This commit is contained in:
Michael Lutz
2021-02-21 00:35:35 +01:00
parent 3a77ade6b2
commit 5ad545dcc1
4 changed files with 20 additions and 10 deletions

View File

@@ -38,6 +38,7 @@ public:
protected:
HWND main_wnd; ///< Handle to system window.
bool fullscreen; ///< Whether to use (true) fullscreen mode.
Rect dirty_rect; ///< Region of the screen that needs redrawing.
Dimension GetScreenSize() const override;
float GetDPIScale() override;