Codechange: [Win32] Move remaing global _wnd variables into the video driver.
This commit is contained in:
@@ -40,7 +40,12 @@ public:
|
||||
protected:
|
||||
HWND main_wnd; ///< Handle to system window.
|
||||
bool fullscreen; ///< Whether to use (true) fullscreen mode.
|
||||
bool has_focus = false; ///< Does our window have system focus?
|
||||
Rect dirty_rect; ///< Region of the screen that needs redrawing.
|
||||
int width = 0; ///< Width in pixels of our display surface.
|
||||
int height = 0; ///< Height in pixels of our display surface.
|
||||
int width_org = 0; ///< Original monitor resolution width, before we changed it.
|
||||
int height_org = 0; ///< Original monitor resolution height, before we changed it.
|
||||
|
||||
bool draw_threaded; ///< Whether the drawing is/may be done in a separate thread.
|
||||
bool buffer_locked; ///< Video buffer was locked by the main thread.
|
||||
|
||||
Reference in New Issue
Block a user