macOS: Fix GL window child widgets when the window's screen changes resolution

This commit is contained in:
ManoloFLTK
2026-03-23 12:21:11 +01:00
parent 6f3a061069
commit e06c231760
@@ -294,6 +294,7 @@ void Fl_Cocoa_Gl_Window_Driver::make_current_before() {
d->changed_resolution(false);
pWindow->invalidate();
[(NSOpenGLContext*)pWindow->context() update];
if (gl1ctxt) [gl1ctxt update];
}
}