Skip to content

Commit

Permalink
MacOS Mojave and gl_start(): fix for 10.14 but not 10.14.1
Browse files Browse the repository at this point in the history
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13108 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
  • Loading branch information
Manolo Gouy authored and Manolo Gouy committed Nov 2, 2018
1 parent 6a201d7 commit 8a04aeb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Fl_cocoa.mm
Expand Up @@ -4459,6 +4459,7 @@ static void nsbitmapProviderReleaseData (void *info, const void *data, size_t si
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
Expand Down

0 comments on commit 8a04aeb

Please sign in to comment.