diff options
| author | Manolo Gouy <Manolo> | 2018-11-02 09:27:04 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2018-11-02 09:27:04 +0000 |
| commit | 8a04aeb146fe922723a3c0188d453601b0063078 (patch) | |
| tree | 2ad5a7ab7da69919c0ac1bba674b792a101f6cdd | |
| parent | 6a201d7070fe2e55240e5b135877093ed86a747a (diff) | |
MacOS Mojave and gl_start(): fix for 10.14 but not 10.14.1
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13108 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | src/Fl_cocoa.mm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index e2df73450..e039e8070 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -4459,6 +4459,7 @@ void Fl_Cocoa_Window_Driver::gl_start(NSOpenGLContext *ctxt) { if (views_use_CA) { Fl_Cocoa_Window_Driver::q_release_context(); [(FLView*)[fl_window contentView] viewFrameDidChange]; + [(FLView*)[fl_window contentView] layer].contentsScale = 1.; } #endif [ctxt update]; // supports window resizing |
