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
This commit is contained in:
parent
04e782d946
commit
7e04fe0acf
@ -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;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user