diff options
| author | Manolo Gouy <Manolo> | 2018-10-29 15:30:44 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2018-10-29 15:30:44 +0000 |
| commit | 61eb23a9ea106e82e3fd0649e68859cb6e950e0f (patch) | |
| tree | ca9a0cfec7961cd2ba0b76ad14da5274f9f03256 /src/Fl_Gl_Window.cxx | |
| parent | 185934b9b0cfb118f7e6251521f8aaafe7e22675 (diff) | |
Fix handling of GL window moved between retina and non-retina screens.
Part of the fix applies both to layer-backed and non layer-backed windows.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13090 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Gl_Window.cxx')
| -rw-r--r-- | src/Fl_Gl_Window.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Fl_Gl_Window.cxx b/src/Fl_Gl_Window.cxx index 7d4ad1a3f..2835f129d 100644 --- a/src/Fl_Gl_Window.cxx +++ b/src/Fl_Gl_Window.cxx @@ -558,6 +558,7 @@ void Fl_Cocoa_Gl_Window_Driver::make_current_before() { if (d->changed_resolution()){ d->changed_resolution(false); invalidate(); + pWindow->valid(0); GLcontext_update(pWindow->context()); } } |
