summaryrefslogtreecommitdiff
path: root/src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.H
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.H')
-rw-r--r--src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.H1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.H b/src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.H
index 361a12d96..2916beb73 100644
--- a/src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.H
+++ b/src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.H
@@ -42,6 +42,7 @@ protected:
BOOL screen_cb(HMONITOR mon, HDC, LPRECT r);
public:
+ Fl_WinAPI_Screen_Driver() : Fl_Screen_Driver() { scale_ = 1; }
// --- display management
virtual int visual(int flags);
// --- screen configuration