diff options
| author | Manolo Gouy <mgouy@biomp2.home> | 2019-05-15 21:55:10 +0200 |
|---|---|---|
| committer | Manolo Gouy <mgouy@biomp2.home> | 2019-05-15 21:55:10 +0200 |
| commit | 88c2994e20be93122bbd316d65711321f97ea2ba (patch) | |
| tree | 3937fb130181993fe9f982d5cd91ecc346deb12f | |
| parent | fa5c2718da142d90cece60cb52c87f6a0806122f (diff) | |
Restore use for GL windows under macOS 10.14.0
| -rw-r--r-- | src/Fl_cocoa.mm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index 72ab89ca3..f608ae8a4 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -2272,6 +2272,9 @@ static FLTextInputContext* fltextinputcontext_instance = nil; } return self; } +- (void)displayLayer:(CALayer *)layer { // necessary with 10.14, does not run with ≥ 10.14.2 + [self drawRect:[self frame]]; +} /* Used by non-layered windows and by all GL windows. * Gets called when a window is created or resized, or moved between retina and non-retina displays |
