From 616bcb635773d87a7e89c928c8d7f2104da1f9d8 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Tue, 23 Aug 2016 15:25:22 +0000 Subject: Step back from r11886 that is not correct. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11888 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Gl_Window_Driver.H | 1 - src/Fl_Gl_Window.cxx | 4 ---- 2 files changed, 5 deletions(-) diff --git a/FL/Fl_Gl_Window_Driver.H b/FL/Fl_Gl_Window_Driver.H index 03dd5c0e8..db8702185 100644 --- a/FL/Fl_Gl_Window_Driver.H +++ b/FL/Fl_Gl_Window_Driver.H @@ -158,7 +158,6 @@ class Fl_X11_Gl_Window_Driver : public Fl_Gl_Window_Driver { Fl_X11_Gl_Window_Driver(Fl_Gl_Window *win) : Fl_Gl_Window_Driver(win) {} virtual void before_show(int& need_redraw); virtual int mode_(int m, const int *a); - virtual void make_current_before(); virtual void swap_buffers(); virtual void resize(int is_a_resize, int w, int h); virtual char swap_type(); diff --git a/src/Fl_Gl_Window.cxx b/src/Fl_Gl_Window.cxx index 4f9285b16..72468fd5c 100644 --- a/src/Fl_Gl_Window.cxx +++ b/src/Fl_Gl_Window.cxx @@ -648,10 +648,6 @@ Fl_Gl_Window_Driver *Fl_Gl_Window_Driver::newGlWindowDriver(Fl_Gl_Window *w) return new Fl_X11_Gl_Window_Driver(w); } -void Fl_X11_Gl_Window_Driver::make_current_before() { - fl_window = fl_xid(pWindow); -} - void Fl_X11_Gl_Window_Driver::before_show(int& need_redraw) { Fl_X::make_xid(pWindow, g()->vis, g()->colormap); if (overlay() && overlay() != pWindow) ((Fl_Gl_Window*)overlay())->show(); -- cgit v1.2.3