diff options
| author | Manolo Gouy <Manolo> | 2018-10-31 09:05:26 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2018-10-31 09:05:26 +0000 |
| commit | 22bcc7b4cacee37be4e0559c84c848d1f6b1daf6 (patch) | |
| tree | ed41ffe4ef1d3c9a8123900867bda631b147226b /src/Fl_Gl_Window.cxx | |
| parent | 9e2011375763cfeda1fd17c5c9f9467420f66f78 (diff) | |
Remove all dependency to libfltk_gl from Fl_cocoa.mm.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13103 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Gl_Window.cxx')
| -rw-r--r-- | src/Fl_Gl_Window.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Gl_Window.cxx b/src/Fl_Gl_Window.cxx index 938a0dc5f..2248e1a84 100644 --- a/src/Fl_Gl_Window.cxx +++ b/src/Fl_Gl_Window.cxx @@ -594,7 +594,7 @@ void Fl_Cocoa_Gl_Window_Driver::swap_buffers() { glRasterPos3f(pos[0], pos[1], pos[2]); // restore original glRasterPos } else - flush_context();//aglSwapBuffers((AGLContext)context_); + flush_context(pWindow->context());//aglSwapBuffers((AGLContext)context_); } void Fl_Cocoa_Gl_Window_Driver::resize(int is_a_resize, int unused, int also) { |
