From 7e04fe0acf97cd8ff573017a0c862b2f9b78df89 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Fri, 2 Nov 2018 12:25:43 +0000 Subject: [PATCH] Further fix to support gl_start() under MacOS platform. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@13110 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Gl_Choice.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Fl_Gl_Choice.cxx b/src/Fl_Gl_Choice.cxx index 6e270f60c..5960514d8 100644 --- a/src/Fl_Gl_Choice.cxx +++ b/src/Fl_Gl_Choice.cxx @@ -169,6 +169,7 @@ Fl_Gl_Choice *Fl_Gl_Choice::find(int m, const int *alistp) { } #elif defined(__APPLE_QUARTZ__) + fl_open_display(); NSOpenGLPixelFormat* fmt = Fl_X::mode_to_NSOpenGLPixelFormat(m, alistp); if (!fmt) return 0;