From 22bcc7b4cacee37be4e0559c84c848d1f6b1daf6 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Wed, 31 Oct 2018 09:05:26 +0000 Subject: 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 --- src/Fl_Gl_Window.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Fl_Gl_Window.cxx') 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) { -- cgit v1.2.3