macOS: Fix GL window child widgets when the window's screen changes resolution
Build and Test / build-linux (push) Has been cancelled
Build and Test / build-wayland (push) Has been cancelled
Build and Test / build-macos (push) Has been cancelled
Build and Test / build-windows (push) Has been cancelled

This commit is contained in:
ManoloFLTK
2026-03-23 12:31:16 +01:00
parent 3a2f4b3a94
commit 6d036dbdb4
@@ -315,6 +315,7 @@ void Fl_Cocoa_Gl_Window_Driver::make_current_before() {
d->changed_resolution(false);
pWindow->invalidate();
[(NSOpenGLContext*)pWindow->context() update];
if (gl1ctxt) [gl1ctxt update];
}
}