Fix Fl_WinAPI_Gl_Window_Driver::pixels_per_unit() when on secondary monitor.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12286 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
8dccfc8838
commit
99615372a6
@ -610,7 +610,8 @@ Fl_Gl_Window_Driver *Fl_Gl_Window_Driver::newGlWindowDriver(Fl_Gl_Window *w)
|
||||
|
||||
float Fl_WinAPI_Gl_Window_Driver::pixels_per_unit()
|
||||
{
|
||||
return Fl::screen_driver()->scale(0);
|
||||
int ns = pWindow->driver()->screen_num();
|
||||
return Fl::screen_driver()->scale(ns);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user