Add useful cast

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13106 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Manolo Gouy 2018-11-01 20:33:35 +00:00
parent 3a2439e31c
commit 6a201d7070

View File

@ -4458,7 +4458,7 @@ void Fl_Cocoa_Window_Driver::gl_start(NSOpenGLContext *ctxt) {
#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_8
if (views_use_CA) {
Fl_Cocoa_Window_Driver::q_release_context();
[[fl_window contentView] viewFrameDidChange];
[(FLView*)[fl_window contentView] viewFrameDidChange];
}
#endif
[ctxt update]; // supports window resizing