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_Driver.H | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Fl_Gl_Window_Driver.H') diff --git a/src/Fl_Gl_Window_Driver.H b/src/Fl_Gl_Window_Driver.H index 88d2c14dc..9ac15b3ae 100644 --- a/src/Fl_Gl_Window_Driver.H +++ b/src/Fl_Gl_Window_Driver.H @@ -112,7 +112,6 @@ class Fl_Cocoa_Gl_Window_Driver : public Fl_Gl_Window_Driver { virtual void swap_buffers(); virtual void resize(int is_a_resize, int w, int h); virtual char swap_type(); - void flush_context(); virtual Fl_Gl_Choice *find(int m, const int *alistp); virtual GLContext create_gl_context(Fl_Window* window, const Fl_Gl_Choice* g, int layer = 0); virtual void set_gl_context(Fl_Window* w, GLContext context); @@ -124,6 +123,7 @@ class Fl_Cocoa_Gl_Window_Driver : public Fl_Gl_Window_Driver { static NSOpenGLPixelFormat *mode_to_NSOpenGLPixelFormat(int mode, const int*); // uses Objective-c static void GLcontext_update(NSOpenGLContext*); // uses Objective-c static void GLcontext_release(NSOpenGLContext*); // uses Objective-c + static void flush_context(NSOpenGLContext*); // uses Objective-c static void GLcontext_makecurrent(NSOpenGLContext*); // uses Objective-c static void GL_cleardrawable(void); // uses Objective-c virtual char *alpha_mask_for_string(const char *str, int n, int w, int h); -- cgit v1.2.3